Chromium Code Reviews

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, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/inspector/WorkerRuntimeAgent.cpp
diff --git a/Source/core/inspector/WorkerRuntimeAgent.cpp b/Source/core/inspector/WorkerRuntimeAgent.cpp
index ff453d9e2b4711f3d553a789110ab261602995ab..eaf2e8c77dd67686902e9874e50cb4270d25768e 100644
--- a/Source/core/inspector/WorkerRuntimeAgent.cpp
+++ b/Source/core/inspector/WorkerRuntimeAgent.cpp
@@ -51,7 +51,9 @@ WorkerRuntimeAgent::WorkerRuntimeAgent(InjectedScriptManager* injectedScriptMana
WorkerRuntimeAgent::~WorkerRuntimeAgent()
{
+#if !ENABLE(OILPAN)
m_instrumentingAgents->setWorkerRuntimeAgent(0);
+#endif
}
void WorkerRuntimeAgent::init()

Powered by Google App Engine