Index: third_party/WebKit/Source/platform/heap/PersistentNode.h |
diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.h b/third_party/WebKit/Source/platform/heap/PersistentNode.h |
index 6fbc02a2bf4fbd6d680518ea8fcaec5e3fbe50bc..cef9582d71df8e07f07455a7a204d8f95d7ccf76 100644 |
--- a/third_party/WebKit/Source/platform/heap/PersistentNode.h |
+++ b/third_party/WebKit/Source/platform/heap/PersistentNode.h |
@@ -144,6 +144,10 @@ class PLATFORM_EXPORT PersistentRegion final { |
return true; |
} |
+#if defined(LEAK_SANITIZER) |
+ void clearPersistentNode(PersistentNode*, |
+ ThreadState::PersistentClearCallback); |
+#endif |
void releasePersistentNode(PersistentNode*, |
ThreadState::PersistentClearCallback); |
using ShouldTraceCallback = bool (*)(Visitor*, PersistentNode*); |