Index: Source/platform/heap/RunAllTests.cpp |
diff --git a/Source/platform/heap/RunAllTests.cpp b/Source/platform/heap/RunAllTests.cpp |
index ce79b2b8063cf02d1a7879adabe09ec48f06a123..40b7db0aeff3d1e0639a017c2fecb5fee20caa9a 100644 |
--- a/Source/platform/heap/RunAllTests.cpp |
+++ b/Source/platform/heap/RunAllTests.cpp |
@@ -57,6 +57,7 @@ public: |
int runHelper(TestSuite* testSuite) |
{ |
BlinkTestEnvironmentScope blinkTestEnvironment; |
+ blink::ThreadState::current()->registerTraceDOMWrappers(0, 0); |
int result = testSuite->Run(); |
blink::Heap::collectAllGarbage(); |
return result; |