| 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 284a3de876ca52e6c0b12235a3698d34e5d7d520..f986f67ab0873800e9b4706ced7a94dfc51509fd 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| @@ -526,15 +526,16 @@ class PLATFORM_EXPORT ThreadState {
|
|
|
| void freePersistentNode(PersistentNode*);
|
|
|
| - using PersistentClearCallback = void (*)(void*);
|
| + enum ReleasePersistentMode { ClearPersistent, ReleasePersistent };
|
| + using PersistentClearCallback = void (*)(void*, ReleasePersistentMode);
|
|
|
| void registerStaticPersistentNode(PersistentNode*, PersistentClearCallback);
|
| - void releaseStaticPersistentNodes();
|
| -
|
| #if defined(LEAK_SANITIZER)
|
| + void clearStaticPersistentNodes();
|
| void enterStaticReferenceRegistrationDisabledScope();
|
| void leaveStaticReferenceRegistrationDisabledScope();
|
| #endif
|
| + void releaseStaticPersistentNodes();
|
|
|
| void resetHeapCounters();
|
| void increaseAllocatedObjectSize(size_t);
|
|
|