| Index: Source/core/inspector/WorkerDebuggerAgent.h
|
| diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
|
| index 2383bfd13b33c911c2fde01fba3b97cd0c4ab1ff..fc4512da3fcd5d492bb668a825a642668aea0037 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(WorkerThread*);
|
|
|
| private:
|
| +
|
| WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
|
|
|
| virtual void startListeningScriptDebugServer() OVERRIDE;
|
| @@ -58,8 +61,9 @@ private:
|
| virtual void muteConsole() OVERRIDE;
|
| virtual void unmuteConsole() OVERRIDE;
|
|
|
| + Mutex m_mutex;
|
| WorkerScriptDebugServer* m_scriptDebugServer;
|
| - WorkerGlobalScope* m_inspectedWorkerGlobalScope;
|
| + RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
|
| };
|
|
|
| } // namespace WebCore
|
|
|