Index: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm |
index 48bfd5430826e1b2e1b90c4587780c700bbdaf64..4695a3904ab2968f56fa9542647565ee81648e68 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm |
@@ -10,7 +10,7 @@ |
#include "base/callback_helpers.h" |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h" |
#include "chrome/browser/extensions/extension_install_prompt_show_params.h" |
#include "chrome/browser/ui/browser.h" |
@@ -98,7 +98,7 @@ void ExtensionInstallDialogController::OnConstrainedWindowClosed( |
base::ResetAndReturn(&done_callback_).Run( |
ExtensionInstallPrompt::Result::ABORTED); |
} |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |
void ExtensionInstallDialogController::OnPromptButtonClicked( |