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

Unified Diff: third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 years, 9 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/LayoutTests/inspector/jump-to-previous-editing-location.html
diff --git a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
index 2b6914af87e2332635ea31b955bba8f6d4dac4a7..5e445d83b204e9dee7e7164e349dfab6a0a80be7 100644
--- a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
+++ b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
@@ -52,7 +52,7 @@ function test()
var lineNumber = lines[i];
var columnNumber = columns[i];
var originSelection = editor.selection();
- editor.setSelection(Common.TextRange.createFromLocation(lineNumber, columnNumber));
+ editor.setSelection(TextUtils.TextRange.createFromLocation(lineNumber, columnNumber));
editor._reportJump(originSelection, editor.selection());
dumpSelection("Mouse click (" + lineNumber + ", " + columnNumber + ")");
}
@@ -113,7 +113,7 @@ function test()
function testDeletePreviousJumpLocations(next)
{
var editor = panel.visibleView.textEditor;
- editor.editRange(new Common.TextRange(9, 0, 15, 0), "");
+ editor.editRange(new TextUtils.TextRange(9, 0, 15, 0), "");
dumpSelection("Removed lines from 9 to 15");
rollback();
dumpSelection("Rolled back");
@@ -131,7 +131,7 @@ function test()
for (var i = 0; i < jumpsToDo; ++i)
rollback();
dumpSelection("Rolled back 4 times");
- editor.editRange(new Common.TextRange(9, 0, 11, 0), "");
+ editor.editRange(new TextUtils.TextRange(9, 0, 11, 0), "");
dumpSelection("Removed lines from 9 to 11");
rollover();
dumpSelection("Rolled over");

Powered by Google App Engine
This is Rietveld 408576698