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

Unified Diff: Source/core/inspector/WorkerRuntimeAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/WorkerRuntimeAgent.h
diff --git a/Source/core/inspector/WorkerRuntimeAgent.h b/Source/core/inspector/WorkerRuntimeAgent.h
index 2ad5f0ac52244210cff5c1d510e60b4fe73ac823..8d053198ae8bcb9add0f50ee13d84b18bfbf94ae 100644
--- a/Source/core/inspector/WorkerRuntimeAgent.h
+++ b/Source/core/inspector/WorkerRuntimeAgent.h
@@ -40,11 +40,12 @@ class WorkerGlobalScope;
class WorkerRuntimeAgent FINAL : public InspectorRuntimeAgent {
public:
- static PassOwnPtr<WorkerRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context)
+ static PassOwnPtrWillBeRawPtr<WorkerRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context)
{
- return adoptPtr(new WorkerRuntimeAgent(injectedScriptManager, scriptDebugServer, context));
+ return adoptPtrWillBeNoop(new WorkerRuntimeAgent(injectedScriptManager, scriptDebugServer, context));
}
virtual ~WorkerRuntimeAgent();
+ virtual void trace(Visitor*) OVERRIDE;
virtual void init() OVERRIDE;
virtual void enable(ErrorString*) OVERRIDE;
@@ -60,7 +61,7 @@ private:
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) OVERRIDE;
virtual void muteConsole() OVERRIDE;
virtual void unmuteConsole() OVERRIDE;
- WorkerGlobalScope* m_workerGlobalScope;
+ RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope;
bool m_paused;
};

Powered by Google App Engine
This is Rietveld 408576698