Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
index 0c4bcb0d472f74923e6647bbfc2f91c988d378d9..50c33aa10252e173b47b0df22e2716818fc1ace9 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -6514,7 +6514,7 @@ private: |
Persistent<IntWrapper>& handle = *intWrapper; |
if (!handle) { |
handle = new IntWrapper(42); |
- handle.clearOnThreadShutdown(); |
+ handle.registerAsStaticReference(); |
} |
return *handle; |
} |