Index: Source/core/inspector/InspectorWorkerAgent.cpp |
diff --git a/Source/core/inspector/InspectorWorkerAgent.cpp b/Source/core/inspector/InspectorWorkerAgent.cpp |
index e4d9e8a1d619c8670189d30b385c9ccbeb1f856f..d0d965816b009573948fd1086a21e5d28423d014 100644 |
--- a/Source/core/inspector/InspectorWorkerAgent.cpp |
+++ b/Source/core/inspector/InspectorWorkerAgent.cpp |
@@ -105,9 +105,9 @@ private: |
int InspectorWorkerAgent::WorkerFrontendChannel::s_nextId = 1; |
-PassOwnPtr<InspectorWorkerAgent> InspectorWorkerAgent::create() |
+PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> InspectorWorkerAgent::create() |
{ |
- return adoptPtr(new InspectorWorkerAgent()); |
+ return adoptPtrWillBeNoop(new InspectorWorkerAgent()); |
} |
InspectorWorkerAgent::InspectorWorkerAgent() |
@@ -118,7 +118,9 @@ InspectorWorkerAgent::InspectorWorkerAgent() |
InspectorWorkerAgent::~InspectorWorkerAgent() |
{ |
+#if !ENABLE(OILPAN) |
m_instrumentingAgents->setInspectorWorkerAgent(0); |
+#endif |
} |
void InspectorWorkerAgent::init() |