Index: Source/core/inspector/WorkerRuntimeAgent.cpp |
diff --git a/Source/core/inspector/WorkerRuntimeAgent.cpp b/Source/core/inspector/WorkerRuntimeAgent.cpp |
index 65f72d93ca710136490d7ddd166fadfd8baf704c..9ba04ed4169ec1bb649248d279f12e41df7afb39 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() |