Index: components/autofill/core/browser/autofill_manager_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc |
index 24f1ba86fe058f8e12ee114df58fb0b6a23768db..59dd73e5c81c843139c55f772ac22e35ab37e601 100644 |
--- a/components/autofill/core/browser/autofill_manager_unittest.cc |
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc |
@@ -10,7 +10,6 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/prefs/pref_service.h" |
#include "base/run_loop.h" |
#include "base/strings/string16.h" |
@@ -18,6 +17,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "components/autofill/core/browser/autocomplete_history_manager.h" |
#include "components/autofill/core/browser/autofill_manager.h" |
@@ -641,8 +641,8 @@ class AutofillManagerTest : public testing::Test { |
personal_data_.set_database(autofill_client_.GetDatabase()); |
personal_data_.SetPrefService(autofill_client_.GetPrefs()); |
autofill_driver_.reset(new MockAutofillDriver()); |
- request_context_ = |
- new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); |
+ request_context_ = new net::TestURLRequestContextGetter( |
+ base::ThreadTaskRunnerHandle::Get()); |
autofill_driver_->SetURLRequestContext(request_context_.get()); |
autofill_manager_.reset(new TestAutofillManager( |
autofill_driver_.get(), &autofill_client_, &personal_data_)); |