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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.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
Index: third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
index 8d014837538fcd6b229520b00e2eb5b0615354a5..4a6db12ba12ff2fc4afd876f8b366d3a424a8f15 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
@@ -378,7 +378,7 @@ Audits.AuditRuleResult = class {
* @return {!Element}
*/
static linkifyDisplayName(url) {
- return Components.Linkifier.linkifyURL(url, Bindings.displayNameForURL(url));
+ return Components.Linkifier.linkifyURL(url, {text: Bindings.displayNameForURL(url)});
}
/**

Powered by Google App Engine
This is Rietveld 408576698