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

Unified Diff: ui/app_list/views/apps_grid_view_unittest.cc

Issue 1402543002: Don't use base::MessageLoop::{Quit,QuitClosure} in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: ui/app_list/views/apps_grid_view_unittest.cc
diff --git a/ui/app_list/views/apps_grid_view_unittest.cc b/ui/app_list/views/apps_grid_view_unittest.cc
index a5f9926bff01cc0328efc28fad781566f869bb16..a4c74bc5ac662b2e47edad122406cc1ae45d5088 100644
--- a/ui/app_list/views/apps_grid_view_unittest.cc
+++ b/ui/app_list/views/apps_grid_view_unittest.cc
@@ -66,7 +66,7 @@ class PageFlipWaiter : public PaginationModelObserver {
selected_pages_ += base::IntToString(new_selected);
if (wait_)
- ui_loop_->Quit();
+ ui_loop_->QuitWhenIdle();
}
void TransitionStarted() override {}
void TransitionChanged() override {}

Powered by Google App Engine
This is Rietveld 408576698