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