| Index: Source/core/inspector/WorkerDebuggerAgent.h
|
| diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
|
| index a52f86abab91caa1a4805f9e3077df2b96cb45a9..4a82218210fd9d28b02aed545a600b728ec156e0 100644
|
| --- a/Source/core/inspector/WorkerDebuggerAgent.h
|
| +++ b/Source/core/inspector/WorkerDebuggerAgent.h
|
| @@ -38,17 +38,20 @@ namespace blink {
|
|
|
| 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 blink
|
|
|