Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Unified Diff: Source/core/inspector/WorkerDebuggerAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/WorkerDebuggerAgent.h
diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
index 2383bfd13b33c911c2fde01fba3b97cd0c4ab1ff..b475ea95f7c425d587264f5a8fb74fe25e410210 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;
@@ -59,7 +62,7 @@ private:
virtual void unmuteConsole() OVERRIDE;
WorkerScriptDebugServer* m_scriptDebugServer;
- WorkerGlobalScope* m_inspectedWorkerGlobalScope;
+ RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698