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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js

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/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)

Powered by Google App Engine
This is Rietveld 408576698