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

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js

Issue 404953004: DevTools: Refactor linkifyRawLocation to use fallback url (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address aandrey's comments #2 Created 6 years, 5 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: Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js b/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
index 2c000a84db533c6c01abf520fcde0588d438e3e9..d69d943941d136318fa88f4fc46b4e55d049cdf8 100644
--- a/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
+++ b/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
@@ -1490,7 +1490,7 @@ WebInspector.AllocationGridNode.prototype = {
var target = this._dataGrid.target();
if (allocationNode.scriptId) {
var linkifier = this._dataGrid._linkifier;
- var urlElement = linkifier.linkifyLocationByScriptId(target, String(allocationNode.scriptId), allocationNode.scriptName, allocationNode.line - 1, allocationNode.column - 1, "profile-node-file");
+ var urlElement = linkifier.linkifyScriptLocation(target, String(allocationNode.scriptId), allocationNode.scriptName, allocationNode.line - 1, allocationNode.column - 1, "profile-node-file");
urlElement.style.maxWidth = "75%";
cell.insertBefore(urlElement, cell.firstChild);
}
« no previous file with comments | « Source/devtools/front_end/profiler/CanvasProfileView.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698