Index: third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html |
index 3d65c3c77c0ec4553f4a7e73ab5d04cd7e979300..3802f6e3f6be2a8963ad7f0f96d60191ecfcf9aa 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html |
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html |
@@ -15,7 +15,7 @@ function test() |
InspectorTest.addResult("Initial state: clean=" + textEditor.isClean()); |
textEditor.markClean(); |
InspectorTest.addResult("After marking clean: clean=" + textEditor.isClean()); |
- textEditor.editRange(Common.TextRange.createFromLocation(0, 0), "newText"); |
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(0, 0), "newText"); |
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean()); |
textEditor.undo(); |
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean()); |
@@ -23,7 +23,7 @@ function test() |
InspectorTest.addResult("REDO; clean=" + textEditor.isClean()); |
textEditor.undo(); |
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean()); |
- textEditor.editRange(Common.TextRange.createFromLocation(1, 0), "newText2"); |
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(1, 0), "newText2"); |
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean()); |
textEditor.undo(); |
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean()); |
@@ -34,12 +34,12 @@ function test() |
{ |
InspectorTest.addResult("Initial state: clean=" + textEditor.isClean()); |
for(var i = 0; i < 3; ++i) { |
- textEditor.editRange(Common.TextRange.createFromLocation(i, 0), "newText" + i); |
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(i, 0), "newText" + i); |
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean()); |
} |
textEditor.markClean(); |
InspectorTest.addResult("After marking clean: clean=" + textEditor.isClean()); |
- textEditor.editRange(Common.TextRange.createFromLocation(3, 0), "newText" + 3); |
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(3, 0), "newText" + 3); |
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean()); |
for(var i = 0; i < 4; ++i) { |
textEditor.undo(); |
@@ -53,7 +53,7 @@ function test() |
textEditor.undo(); |
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean()); |
} |
- textEditor.editRange(Common.TextRange.createFromLocation(1, 0), "foo"); |
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(1, 0), "foo"); |
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean()); |
textEditor.undo(); |
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean()); |