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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp

Issue 2201623002: [DevTools] Move WorkerInspectorController to WorkerThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can-execute-scripts
Patch Set: rebased Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorSession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
index b2910615f698b009d27336188fee3d499ff1da03..c9c2cbdf1fdff6a3bb35fe07d66c27cb3311f1ed 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
@@ -46,6 +46,7 @@
#include "core/page/Page.h"
#include "core/workers/MainThreadWorkletGlobalScope.h"
#include "core/workers/WorkerGlobalScope.h"
+#include "core/workers/WorkerThread.h"
namespace blink {
@@ -147,7 +148,7 @@ InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope* workerGlobalScope
{
if (!workerGlobalScope)
return nullptr;
- if (WorkerInspectorController* controller = workerGlobalScope->workerInspectorController())
+ if (WorkerInspectorController* controller = workerGlobalScope->thread()->workerInspectorController())
return controller->instrumentingAgents();
return nullptr;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698