| Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptCompiler.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptCompiler.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptCompiler.js
|
| index 05a061e2f6c5a06ee3c31a0794e2fdac66bf2cd6..81f766ef1fa77550857e4e6f49296e92813709d0 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptCompiler.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptCompiler.js
|
| @@ -73,7 +73,10 @@ WebInspector.JavaScriptCompiler.prototype = {
|
| }
|
| if (!exceptionDetails)
|
| return;
|
| - var message = new WebInspector.SourceFrameMessage(exceptionDetails.text, WebInspector.SourceFrameMessage.Level.Error, exceptionDetails.line - 1, exceptionDetails.column + 1);
|
| + var startLine = exceptionDetails.line - 1;
|
| + var startColumn = exceptionDetails.column + 1;
|
| + var location = new WebInspector.TextRange(startLine, startColumn, startLine, startColumn);
|
| + var message = new WebInspector.SourceFrameMessage(exceptionDetails.text, WebInspector.UISourceCodeMessage.Level.Error, location);
|
| this._sourceFrame.addMessageToSource(message);
|
| this._compilationFinishedForTest();
|
| }
|
|
|