diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_browsertest.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_browsertest.cc b/chrome/browser/autocomplete/autocomplete_browsertest.cc index 510d82b..8161ce37 100644 --- a/chrome/browser/autocomplete/autocomplete_browsertest.cc +++ b/chrome/browser/autocomplete/autocomplete_browsertest.cc @@ -120,12 +120,12 @@ IN_PROC_BROWSER_TEST_F(AutocompleteBrowserTest, MAYBE_Autocomplete) { AutocompleteController* autocomplete_controller = GetAutocompleteController(); { + OmniboxView* location_entry = location_bar->GetLocationEntry(); + location_entry->model()->SetInputInProgress(true); autocomplete_controller->Start(AutocompleteInput( ASCIIToUTF16("chrome"), string16::npos, string16(), GURL(), true, false, true, AutocompleteInput::SYNCHRONOUS_MATCHES)); - OmniboxView* location_entry = location_bar->GetLocationEntry(); - EXPECT_TRUE(autocomplete_controller->done()); EXPECT_TRUE(location_bar->GetInputString().empty()); EXPECT_TRUE(location_entry->GetText().empty()); |