diff options
Diffstat (limited to 'ash')
-rw-r--r-- | ash/system/web_notification/web_notification_tray.cc | 2 | ||||
-rw-r--r-- | ash/test/ash_test_helper.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc index 9c10822..4565ef0 100644 --- a/ash/system/web_notification/web_notification_tray.cc +++ b/ash/system/web_notification/web_notification_tray.cc @@ -464,7 +464,7 @@ void WebNotificationTray::OnMessageCenterTrayChanged() { // consecutively, and calling Update in the middle of those events will show // intermediate unread counts for a moment. should_update_tray_content_ = true; - MessageLoop::current()->PostTask( + base::MessageLoop::current()->PostTask( FROM_HERE, base::Bind(&WebNotificationTray::UpdateTrayContent, AsWeakPtr())); } diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc index 5015075..91ab017 100644 --- a/ash/test/ash_test_helper.cc +++ b/ash/test/ash_test_helper.cc @@ -90,7 +90,7 @@ void AshTestHelper::TearDown() { void AshTestHelper::RunAllPendingInMessageLoop() { #if !defined(OS_MACOSX) - DCHECK(MessageLoopForUI::current() == message_loop_); + DCHECK(base::MessageLoopForUI::current() == message_loop_); base::RunLoop run_loop(aura::Env::GetInstance()->GetDispatcher()); run_loop.RunUntilIdle(); #endif |