Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: Source/core/inspector/WorkerRuntimeAgent.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698