| Index: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| index 841e43be43ad086a90c68d9562b0b7813939667a..9c99ef638afd3e735fb96da0f2f4fc37e8d58849 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| @@ -705,7 +705,7 @@ InspectorTest.dumpJavaScriptSourceFrameBreakpoints = function(sourceFrame)
|
| var conditional = textEditor.hasLineClass(lineNumber, "cm-breakpoint-conditional")
|
| InspectorTest.addResult("breakpoint at " + lineNumber + (disabled ? " disabled" : "") + (conditional ? " conditional" : ""));
|
|
|
| - var range = new Common.TextRange(lineNumber, 0, lineNumber, textEditor.line(lineNumber).length);
|
| + var range = new TextUtils.TextRange(lineNumber, 0, lineNumber, textEditor.line(lineNumber).length);
|
| var bookmarks = textEditor.bookmarks(range, Sources.JavaScriptSourceFrame.BreakpointDecoration._bookmarkSymbol);
|
| bookmarks = bookmarks.filter(bookmark => !!bookmark.position());
|
| bookmarks.sort((bookmark1, bookmark2) => bookmark1.position().startColumn - bookmark2.position().startColumn);
|
| @@ -723,7 +723,7 @@ InspectorTest.clickJavaScriptSourceFrameBreakpoint = function(sourceFrame, lineN
|
| {
|
| var textEditor = sourceFrame._textEditor;
|
| var lineLength = textEditor.line(lineNumber).length;
|
| - var lineRange = new Common.TextRange(lineNumber, 0, lineNumber, lineLength);
|
| + var lineRange = new TextUtils.TextRange(lineNumber, 0, lineNumber, lineLength);
|
| var bookmarks = textEditor.bookmarks(lineRange, Sources.JavaScriptSourceFrame.BreakpointDecoration._bookmarkSymbol);
|
| bookmarks.sort((bookmark1, bookmark2) => bookmark1.position().startColumn - bookmark2.position().startColumn);
|
| var bookmark = bookmarks[index];
|
|
|