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; |
}; |