| Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| index 67fe2cd8e98be304d61dc18ee9f5dcfa5cc350a2..64d51b19cce8c139325df711960a086dac639bcc 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| @@ -98,16 +98,6 @@ WebInspector.DebuggerModel.BreakReason = {
|
| Other: "other"
|
| }
|
|
|
| -/**
|
| - * @param {number=} value
|
| - * @return {number}
|
| - */
|
| -WebInspector.DebuggerModel.fromOneBased = function(value)
|
| -{
|
| - // FIXME(webkit:62725): console stack trace line/column numbers are one-based.
|
| - return value ? value - 1 : 0;
|
| -}
|
| -
|
| WebInspector.DebuggerModel.prototype = {
|
| /**
|
| * @return {boolean}
|
| @@ -581,7 +571,7 @@ WebInspector.DebuggerModel.prototype = {
|
|
|
| var rawLocations = [];
|
| for (var frame of frames) {
|
| - var rawLocation = this.createRawLocationByScriptId(frame.scriptId, WebInspector.DebuggerModel.fromOneBased(frame.lineNumber), WebInspector.DebuggerModel.fromOneBased(frame.columnNumber));
|
| + var rawLocation = this.createRawLocationByScriptId(frame.scriptId, frame.lineNumber, frame.columnNumber);
|
| if (rawLocation)
|
| rawLocations.push(rawLocation);
|
| }
|
|
|