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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Linkifier.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/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 c62998aa2ef513052aaf187827d93e23996e3fb4..136d49de47190dc76071a1b35404de9447b934e6 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
@@ -551,7 +551,7 @@ Components.linkifyStringAsFragment = function(string) {
* @return {!Node}
*/
function linkifier(title, url, lineNumber, columnNumber) {
- var isExternal = !Bindings.resourceForURL(url) && !Bindings.networkMapping.uiSourceCodeForURLForAnyTarget(url);
+ var isExternal = !Bindings.resourceForURL(url) && !Workspace.workspace.uiSourceCodeForURL(url);
var urlNode = UI.linkifyURLAsNode(url, title, undefined, isExternal);
if (typeof lineNumber !== 'undefined') {
urlNode.lineNumber = lineNumber;

Powered by Google App Engine
This is Rietveld 408576698