Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1366)

Unified Diff: third_party/WebKit/Source/platform/heap/PersistentNode.h

Issue 2602263002: Lend LSan a hand and clear out singleton static persistents first. (Closed)
Patch Set: experiment: disable LSan-GCing during shutdown.. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Persistent.h ('k') | third_party/WebKit/Source/platform/heap/PersistentNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698