Index: Source/devtools/front_end/timeline/TracingTimelineUIUtils.js |
diff --git a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js |
index 040e7fb18bbdafc1782ac052a58d59bfd03432b5..c55ad9c2ecf8d11febfb41c6d950b72880c5558e 100644 |
--- a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js |
+++ b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js |
@@ -457,15 +457,7 @@ WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent = function(eve |
return null; |
// FIXME(62725): stack trace line/column numbers are one-based. |
- return linkifier.linkifyLocationByScriptId(target, scriptId, url, lineNumber - 1, (columnNumber ||1) - 1, "timeline-details"); |
- } |
- |
- /** |
- * @param {!ConsoleAgent.CallFrame} callFrame |
- */ |
- function linkifyCallFrame(callFrame) |
- { |
- return linkifyLocation(callFrame.scriptId, callFrame.url, callFrame.lineNumber, callFrame.columnNumber); |
+ return linkifier.linkifyScriptLocation(target, scriptId, url, lineNumber - 1, (columnNumber ||1) - 1, "timeline-details"); |
} |
/** |
@@ -481,7 +473,7 @@ WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent = function(eve |
} |
if (!stackTrace || !stackTrace.length) |
return null; |
- return linkifyCallFrame(stackTrace[0]); |
+ return linkifier.linkifyConsoleCallFrame(target, stackTrace[0], "timeline-details"); |
} |
} |