Index: Source/web/WebKit.cpp |
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp |
index f410925653d9dc78149ab5f8366268390820136d..fb9cf7a5ba482c07b8acf18bda0ee7638f0eb355 100644 |
--- a/Source/web/WebKit.cpp |
+++ b/Source/web/WebKit.cpp |
@@ -100,6 +100,7 @@ void initialize(Platform* platform) |
s_isolateInterruptor = new V8IsolateInterruptor(V8PerIsolateData::mainThreadIsolate()); |
ThreadState::current()->addInterruptor(s_isolateInterruptor); |
+ ThreadState::current()->registerTraceDOMWrappers(V8GCController::traceDOMWrappers); |
// currentThread will always be non-null in production, but can be null in Chromium unit tests. |
if (WebThread* currentThread = platform->currentThread()) { |