Index: chrome/browser/sync/test/integration/sync_extension_installer.cc |
diff --git a/chrome/browser/sync/test/integration/sync_extension_installer.cc b/chrome/browser/sync/test/integration/sync_extension_installer.cc |
index 9d08d1a51ea787c3d9621fba832282c100d924b9..8d956b4430592e8948f0e0e4a02c31c8e57e078e 100644 |
--- a/chrome/browser/sync/test/integration/sync_extension_installer.cc |
+++ b/chrome/browser/sync/test/integration/sync_extension_installer.cc |
@@ -5,7 +5,9 @@ |
#include "chrome/browser/sync/test/integration/sync_extension_installer.h" |
#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/sync/test/integration/sync_extension_helper.h" |
#include "content/public/browser/notification_source.h" |
@@ -34,7 +36,7 @@ void SyncedExtensionInstaller::Observe( |
// a signal that it's time to asynchronously fake the installation of these |
// extensions. |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(&SyncedExtensionInstaller::DoInstallSyncedExtensions, |
weak_ptr_factory_.GetWeakPtr())); |