Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: ui/arc/notification/arc_notification_manager_unittest.cc

Issue 2315003002: Remove calls to deprecated MessageLoop methods in ui. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/cocoa/menu_controller_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_manager_unittest.cc
diff --git a/ui/arc/notification/arc_notification_manager_unittest.cc b/ui/arc/notification/arc_notification_manager_unittest.cc
index 3db70c1f5648db60a58862d21cc3f6c719ea8620..b6c777bfe7a712ce5e99fe5c0097dcea860a81e0 100644
--- a/ui/arc/notification/arc_notification_manager_unittest.cc
+++ b/ui/arc/notification/arc_notification_manager_unittest.cc
@@ -77,7 +77,7 @@ class NotificationsObserver
class ArcNotificationManagerTest : public testing::Test {
public:
ArcNotificationManagerTest() {}
- ~ArcNotificationManagerTest() override { loop_.RunUntilIdle(); }
+ ~ArcNotificationManagerTest() override { base::RunLoop().RunUntilIdle(); }
protected:
FakeArcBridgeService* service() { return service_.get(); }
@@ -127,7 +127,7 @@ class ArcNotificationManagerTest : public testing::Test {
service_->notifications()->SetInstance(arc_notifications_instance_.get());
while (!observer.IsReady())
- loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
service_->notifications()->RemoveObserver(&observer);
}
« no previous file with comments | « no previous file | ui/base/cocoa/menu_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698