Index: Source/bindings/core/v8/WorkerScriptController.cpp |
diff --git a/Source/bindings/core/v8/WorkerScriptController.cpp b/Source/bindings/core/v8/WorkerScriptController.cpp |
index 492a17efcd1124a290b2157d3afd2c205aa16dc4..42dd0b8cfdc00d8e654aff3293afbedfd5bdb6cb 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.cpp |
+++ b/Source/bindings/core/v8/WorkerScriptController.cpp |
@@ -116,6 +116,7 @@ WorkerScriptController::WorkerScriptController(WorkerGlobalScope& workerGlobalSc |
m_world = DOMWrapperWorld::create(WorkerWorldId); |
m_interruptor = adoptPtr(new V8IsolateInterruptor(m_isolate)); |
ThreadState::current()->addInterruptor(m_interruptor.get()); |
+ ThreadState::current()->registerTraceDOMWrappers(m_isolate, V8GCController::traceDOMWrappers); |
} |
// We need to postpone V8 Isolate destruction until the very end of |