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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h

Issue 1924663006: [DevTools] Move API methods from V8RuntimeAgent to V8InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@debugger-into-session
Patch Set: rebased Created 4 years, 8 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: third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h b/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h
index 74bf17047cde9f50a7c2ff50f967b28fb98d8182..309f9736a82d01675412f3fdcf58aa27898393aa 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerConsoleAgent.h
@@ -41,10 +41,7 @@ class WorkerGlobalScope;
class WorkerConsoleAgent final : public InspectorConsoleAgent {
WTF_MAKE_NONCOPYABLE(WorkerConsoleAgent);
public:
- static WorkerConsoleAgent* create(V8RuntimeAgent* runtimeAgent, WorkerGlobalScope* workerGlobalScope)
- {
- return new WorkerConsoleAgent(runtimeAgent, workerGlobalScope);
- }
+ WorkerConsoleAgent(V8InspectorSession*, WorkerGlobalScope*);
~WorkerConsoleAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -58,8 +55,6 @@ protected:
void disableStackCapturingIfNeeded() override;
private:
- WorkerConsoleAgent(V8RuntimeAgent*, WorkerGlobalScope*);
-
Member<WorkerGlobalScope> m_workerGlobalScope;
};

Powered by Google App Engine
This is Rietveld 408576698