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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.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/elements/ElementsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
index b0780d665219e40849ef6e4250761059856b73d1..5b0e288c7be92f21b954b65c274c369a73741cf8 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
@@ -261,7 +261,7 @@ Elements.ElementsPanel = class extends UI.Panel {
return;
header.removeChildren();
header.createChild('div', 'elements-tree-header-frame').textContent = Common.UIString('Frame');
- header.appendChild(Components.Linkifier.linkifyURL(target.inspectedURL(), target.name()));
+ header.appendChild(Components.Linkifier.linkifyURL(target.inspectedURL(), {text: target.name()}));
}
_updateTreeOutlineVisibleWidth() {

Powered by Google App Engine
This is Rietveld 408576698