Index: third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js |
index d9a27764bc4e16d0dc65ec426980dfd6b190460a..ecaf109e6d341b18b5b8f79474e7893c8224cf7e 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js |
@@ -16,7 +16,7 @@ function initialize_AutocompleteTest() |
if (lineNumber === -1) |
throw new Error("Test case is invalid: cursor position is not marked with '|' symbol."); |
textEditor.setText(lines.join("\n").replace("|", "")); |
- textEditor.setSelection(Common.TextRange.createFromLocation(lineNumber, columnNumber)); |
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(lineNumber, columnNumber)); |
InspectorTest.addSniffer(TextEditor.TextEditorAutocompleteController.prototype, "_onSuggestionsShownForTest", suggestionsShown); |
textEditor._autocompleteController.autocomplete(); |
function suggestionsShown(words) |