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

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

Issue 2902273002: DevTools: convert linkifyURL params into options object (Closed)
Patch Set: 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 390d1a226d4b74b3d87e84488fb1533c08bc2c04..57754111444b786178e68154f63227bce4115bc7 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: url, text: Bindings.displayNameForURL(url)});
}
/**

Powered by Google App Engine
This is Rietveld 408576698