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

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

Issue 2902273002: DevTools: convert linkifyURL params into options object (Closed)
Patch Set: rebase and ac Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ac4c1eb731bd3caa3c883d6636b550bfc52b649e..a639e9d2fd28c71d1193e0053df8d3a227e2069d 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditFormatters.js
@@ -127,7 +127,7 @@ Audits.AuditFormatters.Registry = {
* @return {!Element}
*/
resourceLink: function(url, line) {
- return Components.Linkifier.linkifyURL(url, undefined, 'resource-url', line);
+ return Components.Linkifier.linkifyURL(url, {className: 'resource-url', lineNumber: line});
}
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698