Index: components/omnibox/browser/history_quick_provider_performance_unittest.cc |
diff --git a/components/omnibox/browser/history_quick_provider_performance_unittest.cc b/components/omnibox/browser/history_quick_provider_performance_unittest.cc |
index f15f3059e268bd5f88471c974f93a1afe9568c38..f9138d496ea337f6637a18a9560153822cee3f16 100644 |
--- a/components/omnibox/browser/history_quick_provider_performance_unittest.cc |
+++ b/components/omnibox/browser/history_quick_provider_performance_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/macros.h" |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/test/scoped_task_environment.h" |
#include "components/history/core/browser/history_backend.h" |
#include "components/history/core/browser/history_database.h" |
#include "components/history/core/browser/history_service.h" |
@@ -97,7 +98,7 @@ class HQPPerfTestOnePopularURL : public testing::Test { |
private: |
base::TimeDelta RunTest(const base::string16& text); |
- base::MessageLoop message_loop_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
std::unique_ptr<FakeAutocompleteProviderClient> client_; |
scoped_refptr<HistoryQuickProvider> provider_; |