Index: chrome/browser/search_engines/template_url_service_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc |
index b7e3e2c3eee953a866f9e4fecaa849a2032a48d8..2829f698123c810d87d64f2f56f2cb232807f284 100644 |
--- a/chrome/browser/search_engines/template_url_service_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc |
@@ -4,8 +4,8 @@ |
#include "chrome/browser/search_engines/template_url_service_test_util.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/search_engines/chrome_template_url_service_client.h" |
#include "chrome/test/base/testing_pref_service_syncable.h" |
@@ -50,14 +50,14 @@ TemplateURLServiceTestUtil::TemplateURLServiceTestUtil() |
scoped_refptr<WebDatabaseService> web_database_service = |
new WebDatabaseService(temp_dir_.path().AppendASCII("webdata"), |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current()); |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get()); |
web_database_service->AddTable( |
scoped_ptr<WebDatabaseTable>(new KeywordTable())); |
web_database_service->LoadDatabase(); |
- web_data_service_ = new KeywordWebDataService( |
- web_database_service.get(), base::MessageLoopProxy::current(), |
+ web_data_service_ = new KeywordWebDataService( |
+ web_database_service.get(), base::ThreadTaskRunnerHandle::Get(), |
KeywordWebDataService::ProfileErrorCallback()); |
web_data_service_->Init(); |