| Index: third_party/WebKit/Source/platform/heap/Handle.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/Handle.h b/third_party/WebKit/Source/platform/heap/Handle.h
|
| index 64e43fd71243011277fb2052e26dfe146148b0dc..763c55e8677cc5ad1dfd355fbc4d2028895c925b 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Handle.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Handle.h
|
| @@ -1236,6 +1236,10 @@ public:
|
|
|
| void clear()
|
| {
|
| +#if ENABLE(ASSERT)
|
| + if (m_keepAlive)
|
| + ThreadState::current()->decrementNumberOfSelfRefs();
|
| +#endif
|
| m_keepAlive.clear();
|
| }
|
|
|
| @@ -1247,6 +1251,9 @@ private:
|
| {
|
| ASSERT(!m_keepAlive || m_keepAlive.get() == self);
|
| m_keepAlive = self;
|
| +#if ENABLE(ASSERT)
|
| + ThreadState::current()->incrementNumberOfSelfRefs();
|
| +#endif
|
| }
|
|
|
| GC_PLUGIN_IGNORE("420515")
|
|
|