commit | e0828110c362763556738df32990abbc38370ebc | [log] [tgz] |
---|---|---|
author | kouhei <kouhei@chromium.org> | Wed Apr 05 12:53:42 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 05 12:53:42 2017 |
tree | 8489ce67a5ab86fae4a753b191db3658a3f4dd11 | |
parent | 08c0ab4e786593dd8d91407165da85d923d0179b [diff] |
Allow null other.m_parent in TraceWrapperMember::operator= if other is nullptr. This CL fixes the DCHECK condition in TraceWrapperMember::operator= to allow assignment of null TraceWrapperMember. This CL allows TraceWrapperMember to be used in HeapHash{Set,Map}, as HashTable::rehash operations involve assignment of empty==null TraceWrapperMembers. BUG=594639, 707123 Review-Url: https://codereview.chromium.org/2802593002 Cr-Commit-Position: refs/heads/master@{#462044}