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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js

Issue 2712513002: DevTools: extract ObjectUI module from Components (Closed)
Patch Set: fix build.gn Created 3 years, 10 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/Source/devtools/front_end/console/ConsolePrompt.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
index edeef33b1fe04b6f337353625f904a420998467f..caa0df9bbe7f001aafa7d10e9d5a1c4852d96727 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
@@ -271,7 +271,7 @@ Console.ConsolePrompt = class extends UI.Widget {
if (excludedTokens.has(currentTokenType))
return Promise.resolve(historyWords);
- return Components.JavaScriptAutocomplete.completionsForTextInCurrentContext(before, query, force)
+ return ObjectUI.JavaScriptAutocomplete.completionsForTextInCurrentContext(before, query, force)
.then(words => words.concat(historyWords));
}

Powered by Google App Engine
This is Rietveld 408576698