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

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

Powered by Google App Engine
This is Rietveld 408576698