Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp |
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp |
index bf50fd6262ed15a2121042490857072195626105..d622a6e33c949b02a597b0c03bd13709b298f9b1 100644 |
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp |
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp |
@@ -54,6 +54,9 @@ void WebThreadSupportingGC::initialize() |
void WebThreadSupportingGC::shutdown() |
{ |
+#if defined(LEAK_SANITIZER) |
+ ThreadState::current()->releaseStaticPersistentNodes(); |
+#endif |
// Ensure no posted tasks will run from this point on. |
m_gcTaskRunner.clear(); |