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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js

Issue 2512873002: [DevTools] Do not use external links for resources anymore. (Closed)
Patch Set: 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/audits/AuditFormatters.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js
index 90082ec9f7527849a4c093137f4b601bc6bac080..ac4c1eb731bd3caa3c883d6636b550bfc52b649e 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js
@@ -127,8 +127,7 @@ Audits.AuditFormatters.Registry = {
* @return {!Element}
*/
resourceLink: function(url, line) {
- // FIXME: use Components.Linkifier
- return Components.linkifyResourceAsNode(url, line, undefined, 'resource-url webkit-html-resource-link');
+ return Components.Linkifier.linkifyURL(url, undefined, 'resource-url', line);
}
};

Powered by Google App Engine
This is Rietveld 408576698