Index: chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm b/chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm |
index 9f6c8a77eb169c7bc8db37fc9ed9f8979cfa2f46..45b25e91b480f787e2a2314f291a6f80d67773d2 100644 |
--- a/chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm |
@@ -7,7 +7,7 @@ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "base/mac/scoped_nsobject.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "chrome/browser/importer/importer_lock_dialog.h" |
#include "chrome/grit/chromium_strings.h" |
#include "chrome/grit/generated_resources.h" |
@@ -30,7 +30,7 @@ void ShowImportLockDialog(gfx::NativeWindow parent, |
[lock_alert setMessageText:l10n_util::GetNSStringWithFixup( |
IDS_IMPORTER_LOCK_TITLE)]; |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(callback, [lock_alert runModal] == NSAlertFirstButtonReturn)); |
content::RecordAction(UserMetricsAction("ImportLockDialogCocoa_Shown")); |