| Index: third_party/WebKit/Source/platform/heap/Persistent.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/Persistent.h b/third_party/WebKit/Source/platform/heap/Persistent.h
|
| index 26ef9d1e43b55f3d96db3abe573ab417591ca261..2527ce0ec1d0edd925bc877c4268a825c342496b 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Persistent.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Persistent.h
|
| @@ -196,11 +196,7 @@ class PersistentBase {
|
| static_assert(IsGarbageCollectedType<T>::value,
|
| "T needs to be a garbage collected object");
|
| if (weaknessConfiguration == WeakPersistentConfiguration) {
|
| - if (crossThreadnessConfiguration == CrossThreadPersistentConfiguration)
|
| - visitor->registerWeakCellWithCallback(reinterpret_cast<void**>(this),
|
| - handleWeakPersistent);
|
| - else
|
| - visitor->registerWeakMembers(this, m_raw, handleWeakPersistent);
|
| + visitor->registerWeakCallback(this, handleWeakPersistent);
|
| } else {
|
| visitor->mark(m_raw);
|
| }
|
|
|