Index: Source/core/inspector/WorkerRuntimeAgent.cpp |
diff --git a/Source/core/inspector/WorkerRuntimeAgent.cpp b/Source/core/inspector/WorkerRuntimeAgent.cpp |
index ff453d9e2b4711f3d553a789110ab261602995ab..f2355bdbd65c6c09db9d9e5183de0daf0d2d5c89 100644 |
--- a/Source/core/inspector/WorkerRuntimeAgent.cpp |
+++ b/Source/core/inspector/WorkerRuntimeAgent.cpp |
@@ -51,7 +51,15 @@ WorkerRuntimeAgent::WorkerRuntimeAgent(InjectedScriptManager* injectedScriptMana |
WorkerRuntimeAgent::~WorkerRuntimeAgent() |
{ |
+#if !ENABLE(OILPAN) |
m_instrumentingAgents->setWorkerRuntimeAgent(0); |
+#endif |
+} |
+ |
+void WorkerRuntimeAgent::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_workerGlobalScope); |
+ InspectorRuntimeAgent::trace(visitor); |
} |
void WorkerRuntimeAgent::init() |