Index: Source/core/inspector/InspectorWorkerAgent.cpp |
diff --git a/Source/core/inspector/InspectorWorkerAgent.cpp b/Source/core/inspector/InspectorWorkerAgent.cpp |
index 40d289958b493f5fc8aa915b7852a1b4150d9b1c..fac364ea8f1054992448e880254eabff7f5b1edd 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() |