Index: Source/core/inspector/WorkerDebuggerAgent.h |
diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h |
index 2383bfd13b33c911c2fde01fba3b97cd0c4ab1ff..c59e84abdf7e335744bb77ba42f0ff4f02f55232 100644 |
--- a/Source/core/inspector/WorkerDebuggerAgent.h |
+++ b/Source/core/inspector/WorkerDebuggerAgent.h |
@@ -38,17 +38,20 @@ namespace WebCore { |
class WorkerGlobalScope; |
class WorkerThread; |
+class WorkerDebuggerAgent; |
class WorkerDebuggerAgent FINAL : public InspectorDebuggerAgent { |
WTF_MAKE_NONCOPYABLE(WorkerDebuggerAgent); |
- WTF_MAKE_FAST_ALLOCATED; |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
- static PassOwnPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*); |
+ static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*); |
virtual ~WorkerDebuggerAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
- static void interruptAndDispatchInspectorCommands(WorkerThread*); |
+ void interruptAndDispatchInspectorCommands(); |
private: |
+ |
WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*); |
virtual void startListeningScriptDebugServer() OVERRIDE; |
@@ -59,7 +62,7 @@ private: |
virtual void unmuteConsole() OVERRIDE; |
WorkerScriptDebugServer* m_scriptDebugServer; |
- WorkerGlobalScope* m_inspectedWorkerGlobalScope; |
+ RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; |
}; |
} // namespace WebCore |