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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Linkifier.js

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes Created 4 years, 3 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/devtools/front_end/components/Linkifier.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
index b4a228f29172a5e724554fe122b377678ff0e67a..5fd1f8cd1c9978df97283a6fb6d51c43b84dbd26 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
@@ -300,8 +300,7 @@ WebInspector.Linkifier.prototype = {
return;
event.consume(true);
- var networkURL = WebInspector.networkMapping.networkURL(uiLocation.uiSourceCode);
- if (WebInspector.Linkifier.handleLink(networkURL, uiLocation.lineNumber))
+ if (WebInspector.Linkifier.handleLink(uiLocation.uiSourceCode.url(), uiLocation.lineNumber))
return;
WebInspector.Revealer.reveal(uiLocation);
}

Powered by Google App Engine
This is Rietveld 408576698