Index: chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
diff --git a/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm b/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
index a8f9a846e54286246e75882298b99b63ff6058e3..bef455d2b47c787144c37c97bc5bb12819ff24e7 100644 |
--- a/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
+++ b/chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm |
@@ -5,7 +5,7 @@ |
#import "chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h" |
#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h" |
#include "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h" |
#import "chrome/browser/ui/cocoa/one_click_signin_view_controller.h" |
@@ -40,7 +40,7 @@ OneClickSigninDialogController::~OneClickSigninDialogController() { |
void OneClickSigninDialogController::OnConstrainedWindowClosed( |
ConstrainedWindowMac* window) { |
[view_controller_ viewWillClose]; |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |
void OneClickSigninDialogController::PerformClose() { |