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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Linkifier.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/components/Linkifier.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
index 7622d7118600b34d8460b855838683cc61cbc3d7..b4a228f29172a5e724554fe122b377678ff0e67a 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
@@ -224,18 +224,6 @@ WebInspector.Linkifier.prototype = {
},
/**
- * @param {?WebInspector.Target} target
- * @param {!RuntimeAgent.CallFrame} callFrame
- * @param {string=} classes
- * @return {?Element}
- */
- maybeLinkifyConsoleCallFrameForTracing: function(target, callFrame, classes)
- {
- // TODO(kozyatinskiy): remove this when tracing will migrate to 0-based lineNumber and columnNumber.
- return this.linkifyScriptLocation(target, callFrame.scriptId, callFrame.url, callFrame.lineNumber - 1, callFrame.columnNumber - 1, classes);
- },
-
- /**
* @param {!WebInspector.Target} target
* @param {!RuntimeAgent.StackTrace} stackTrace
* @param {string=} classes

Powered by Google App Engine
This is Rietveld 408576698