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

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

Issue 2215153002: [DevTools] Eliminate frameId and isContentScript from js protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: navigation tracker 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
Index: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
index 3e4ab9627deed5e21584841fa57c86971b1d4af6..131b2dcec769477c0d919b9aa16f847f77345e6f 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -86,7 +86,9 @@ int WorkerThreadDebugger::contextGroupId(ExecutionContext* context)
void WorkerThreadDebugger::contextCreated(v8::Local<v8::Context> context)
{
- v8Inspector()->contextCreated(V8ContextInfo(context, workerContextGroupId, true, m_workerThread->globalScope()->url().getString(), "", "", false));
+ V8ContextInfo contextInfo(context, workerContextGroupId, "");
+ contextInfo.origin = m_workerThread->globalScope()->url().getString();
+ v8Inspector()->contextCreated(contextInfo);
}
void WorkerThreadDebugger::contextWillBeDestroyed(v8::Local<v8::Context> context)

Powered by Google App Engine
This is Rietveld 408576698