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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js

Issue 2501883002: DevTools: kill Bindings.NetworkMapping (Closed)
Patch Set: rebaseline Created 4 years, 1 month 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/devtools/front_end/extensions/ExtensionServer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
index 4b6bcc633b4259f2d47bc524b4fd5a6167be9371..7ddc91606980625703978970a7cc1f8d4f4be5d8 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
@@ -364,7 +364,7 @@ Extensions.ExtensionServer = class extends Common.Object {
}
_onOpenResource(message) {
- var uiSourceCode = Bindings.networkMapping.uiSourceCodeForURLForAnyTarget(message.url);
+ var uiSourceCode = Workspace.workspace.uiSourceCodeForURL(message.url);
if (uiSourceCode) {
Common.Revealer.reveal(uiSourceCode.uiLocation(message.lineNumber, 0));
return this._status.OK();

Powered by Google App Engine
This is Rietveld 408576698