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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 4ebe5bcce64da597e736ae448c6f5df6bf0805bf..375c0eb94c32bbf07fc0296d18842ffc73240b0a 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-test.js
@@ -16,8 +16,8 @@ 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(WebInspector.TextRange.createFromLocation(lineNumber, columnNumber));
- InspectorTest.addSniffer(WebInspector.TextEditorAutocompleteController.prototype, "_onSuggestionsShownForTest", suggestionsShown);
+ textEditor.setSelection(Common.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