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 69bd7ef9b8ed7af7e59e385809d0d703b6f8811f..30bdad7d5cacf83f50b0a21da616a9df60562c2a 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -6522,7 +6522,7 @@ private: |
Persistent<IntWrapper>& handle = *intWrapper; |
if (!handle) { |
handle = new IntWrapper(42); |
- handle.clearOnThreadShutdown(); |
+ handle.registerAsStaticReference(); |
} |
return *handle; |
} |