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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed 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/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()

Powered by Google App Engine
This is Rietveld 408576698