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

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

Issue 1838523004: Initialize debugger together with isolate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unnecessary assert hitting in unit tests Created 4 years, 9 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/WorkerInspectorController.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
index 7157e51790bac34b7d3acc8ad2d3b33389aaf117..d2f09ce0e8be1fc512c46b26735b42cd4d66a8b8 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h
@@ -44,6 +44,7 @@
namespace blink {
class InstrumentingAgents;
+class V8Debugger;
class WorkerDebuggerAgent;
class WorkerGlobalScope;
class WorkerRuntimeAgent;
@@ -58,7 +59,7 @@ class WorkerInspectorController final : public RefCountedWillBeGarbageCollectedF
WTF_MAKE_NONCOPYABLE(WorkerInspectorController);
USING_FAST_MALLOC_WILL_BE_REMOVED(WorkerInspectorController);
public:
- explicit WorkerInspectorController(WorkerGlobalScope*);
+ static PassRefPtrWillBeRawPtr<WorkerInspectorController> create(WorkerGlobalScope*);
~WorkerInspectorController();
DECLARE_TRACE();
@@ -68,6 +69,7 @@ public:
void dispose();
private:
+ WorkerInspectorController(WorkerGlobalScope*, V8Debugger*, int contextGroupId);
friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope*);
// InspectorRuntimeAgent::Client implementation.

Powered by Google App Engine
This is Rietveld 408576698