Index: chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
diff --git a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
index 06d196da2e3c2ef32f9a103b7b199f9190bbd1db..df15525cc6428a95572f858f23bb0fd6d16de909 100644 |
--- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
+++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
@@ -57,6 +57,7 @@ |
#include "components/omnibox/autocomplete_match.h" |
#include "components/omnibox/autocomplete_provider.h" |
#include "components/omnibox/autocomplete_result.h" |
+#include "components/omnibox/omnibox_field_trial.h" |
#include "components/omnibox/search_provider.h" |
#include "components/search_engines/template_url_service.h" |
#include "components/sessions/serialized_navigation_entry.h" |
@@ -816,8 +817,7 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedPrefetchTest, SetPrefetchQuery) { |
ui_test_utils::BROWSER_TEST_NONE); |
new_tab_observer.Wait(); |
- omnibox()->model()->autocomplete_controller()->search_provider()-> |
- kMinimumTimeBetweenSuggestQueriesMs = 0; |
+ OmniboxFieldTrial::kDefaultMinimumTimeBetweenSuggestQueriesMs = 0; |
// Set the fake response for search query. |
fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), |
@@ -879,8 +879,7 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedPrefetchTest, ClearPrefetchedResults) { |
ui_test_utils::BROWSER_TEST_NONE); |
new_tab_observer.Wait(); |
- omnibox()->model()->autocomplete_controller()->search_provider()-> |
- kMinimumTimeBetweenSuggestQueriesMs = 0; |
+ OmniboxFieldTrial::kDefaultMinimumTimeBetweenSuggestQueriesMs = 0; |
// Set the fake response for search query. |
fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), |