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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.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/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index 6eafa64d8e80d8ffcd3c61d4fae61023e41f4c23..fd22d430a06a2b6d040fbd93dab0bc39aacf2e05 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -522,7 +522,7 @@ Network.NetworkDataGridNode = class extends UI.SortableDataGridNode {
switch (initiator.type) {
case SDK.NetworkRequest.InitiatorType.Parser:
cell.title = initiator.url + ':' + (initiator.lineNumber + 1);
- var uiSourceCode = Bindings.networkMapping.uiSourceCodeForURLForAnyTarget(initiator.url);
+ var uiSourceCode = Workspace.workspace.uiSourceCodeForURL(initiator.url);
cell.appendChild(Components.linkifyResourceAsNode(
initiator.url, initiator.lineNumber, initiator.columnNumber, undefined, undefined,
uiSourceCode ? uiSourceCode.displayName() : undefined));

Powered by Google App Engine
This is Rietveld 408576698