| Index: third_party/WebKit/Source/platform/heap/ThreadState.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| index 17bb942c3e0c86b28d4c3135d16339fb7d10283c..f691e52fc7f8456fc1e79c920a5a5b9f44d93be5 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| @@ -233,6 +233,8 @@ public:
|
| bool isMainThread() const { return this == mainThreadState(); }
|
| #if ENABLE(ASSERT)
|
| bool checkThread() const { return m_thread == currentThread(); }
|
| + void incrementNumberOfSelfRefs() { ++m_numberOfSelfRefs; }
|
| + void decrementNumberOfSelfRefs() { --m_numberOfSelfRefs; }
|
| #endif
|
|
|
| void performIdleGC(double deadlineSeconds);
|
| @@ -647,6 +649,10 @@ private:
|
| v8::Isolate* m_isolate;
|
| void (*m_traceDOMWrappers)(v8::Isolate*, Visitor*);
|
|
|
| +#if ENABLE(ASSERT)
|
| + int m_numberOfSelfRefs;
|
| +#endif
|
| +
|
| #if defined(ADDRESS_SANITIZER)
|
| void* m_asanFakeStack;
|
| #endif
|
|
|