Index: chrome/browser/notifications/message_center_settings_controller.cc |
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc |
index 70d674488056c2fbd3b89dfdb319b8172e6aa053..dcd6d4fdc11b0a819f5549240c16c438b18b85c1 100644 |
--- a/chrome/browser/notifications/message_center_settings_controller.cc |
+++ b/chrome/browser/notifications/message_center_settings_controller.cc |
@@ -8,9 +8,9 @@ |
#include "base/command_line.h" |
#include "base/i18n/string_compare.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/task/cancelable_task_tracker.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/extensions/app_icon_loader_impl.h" |
@@ -540,7 +540,7 @@ void MessageCenterSettingsController::RebuildNotifierGroups(bool notify) { |
// registering it as the primary one, which causes this method which causes |
// another creating a primary profile, and causes an infinite loop. |
// Thus, it would be better to delay creating group for guest login. |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind( |
&MessageCenterSettingsController::CreateNotifierGroupForGuestLogin, |