Index: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm |
index e600717423929d6fd5f4458dc913d85e9268112f..dbd031b3db76e374708ded57782f5c7cec5c094c 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm |
@@ -4,7 +4,7 @@ |
#import "chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/browser_window.h" |
@@ -83,5 +83,5 @@ void ProfileSigninConfirmationDialogCocoa::Close() { |
void ProfileSigninConfirmationDialogCocoa::OnConstrainedWindowClosed( |
ConstrainedWindowMac* window) { |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |