| Index: Source/core/inspector/WorkerDebuggerAgent.h
|
| diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
|
| index 2383bfd13b33c911c2fde01fba3b97cd0c4ab1ff..531e9fcb3eabba6ab1fa93b3ad8ce4a54313932b 100644
|
| --- a/Source/core/inspector/WorkerDebuggerAgent.h
|
| +++ b/Source/core/inspector/WorkerDebuggerAgent.h
|
| @@ -41,10 +41,13 @@ class WorkerThread;
|
|
|
| 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;
|
| +
|
| + void discard();
|
|
|
| static void interruptAndDispatchInspectorCommands(WorkerThread*);
|
|
|
| @@ -59,7 +62,8 @@ private:
|
| virtual void unmuteConsole() OVERRIDE;
|
|
|
| WorkerScriptDebugServer* m_scriptDebugServer;
|
| - WorkerGlobalScope* m_inspectedWorkerGlobalScope;
|
| + RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
|
| + WorkerThread* m_thread;
|
| };
|
|
|
| } // namespace WebCore
|
|
|