| Index: chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
| diff --git a/chrome/browser/apps/app_shim/app_shim_handler_mac.cc b/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
| index 25bb1255927427ef7000deb7e2c99a37c188d14d..e8d0a9128a1a3a5ddce604bb29a02737fdc20606 100644
|
| --- a/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
| +++ b/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
| @@ -7,10 +7,12 @@
|
| #include <map>
|
|
|
| #include "base/bind.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/singleton.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "chrome/browser/apps/app_window_registry_util.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/lifetime/application_lifetime.h"
|
| @@ -64,7 +66,7 @@ class AppShimHandlerRegistry : public content::NotificationObserver {
|
| if (!browser_session_running_) {
|
| // Post this to give AppWindows a chance to remove themselves from the
|
| // registry.
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE, base::Bind(&TerminateIfNoAppWindows));
|
| }
|
| }
|
|
|