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

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, 5 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
« no previous file with comments | « Source/core/inspector/WorkerRuntimeAgent.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/core/inspector/WorkerRuntimeAgent.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698