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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.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/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index 659c86b853a5c31bf84f5fd32498d35bee5923f3..e8cd7800b00edc4256a3c06287bcf973817d7751 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -929,9 +929,11 @@ Network.NetworkRequestNode = class extends Network.NetworkNode {
case SDK.NetworkRequest.InitiatorType.Parser:
cell.title = initiator.url + ':' + (initiator.lineNumber + 1);
var uiSourceCode = Workspace.workspace.uiSourceCodeForURL(initiator.url);
- cell.appendChild(Components.Linkifier.linkifyURL(
- initiator.url, uiSourceCode ? uiSourceCode.displayName() : undefined, '', initiator.lineNumber,
- initiator.columnNumber));
+ cell.appendChild(Components.Linkifier.linkifyURL(initiator.url, {
+ text: uiSourceCode ? uiSourceCode.displayName() : undefined,
+ lineNumber: initiator.lineNumber,
+ columnNumber: initiator.columnNumber
+ }));
this._appendSubtitle(cell, Common.UIString('Parser'));
break;

Powered by Google App Engine
This is Rietveld 408576698