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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js

Issue 2169153002: DevTools: make all timeline trace events use 0-based line numbers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update expectation Created 4 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: third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
index 5fac89fd4a16acccb0a359b9fb01ee8d6c3203d3..ea4b108e1b03c38adaaa057463a3a126b859d33e 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js
@@ -92,9 +92,7 @@ WebInspector.TimelineTreeView.prototype = {
var frame = WebInspector.TimelineProfileTree.eventStackFrame(event);
if (!frame)
return null;
- return event.name === WebInspector.TimelineModel.RecordType.JSFrame
- ? this._linkifier.maybeLinkifyConsoleCallFrame(target, frame)
- : this._linkifier.maybeLinkifyConsoleCallFrameForTracing(target, frame);
+ return this._linkifier.maybeLinkifyConsoleCallFrame(target, frame);
},
/**

Powered by Google App Engine
This is Rietveld 408576698