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

Unified Diff: ui/app_list/pagination_model.cc

Issue 10638018: app_list: Initialize more views in the initializer list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « ui/app_list/page_switcher.cc ('k') | ui/app_list/search_box_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/pagination_model.cc
diff --git a/ui/app_list/pagination_model.cc b/ui/app_list/pagination_model.cc
index d58a5fc8eda6b975e41f150becf44dafeaff814b..8f5104e2614c0a433126c9d43bcc211d9c90ca6f 100644
--- a/ui/app_list/pagination_model.cc
+++ b/ui/app_list/pagination_model.cc
@@ -31,9 +31,7 @@ void PaginationModel::SetTotalPages(int total_pages) {
SelectPage(0, false /* animate */);
if (selected_page_ >= total_pages_)
SelectPage(total_pages_ - 1, false /* animate */);
- FOR_EACH_OBSERVER(PaginationModelObserver,
- observers_,
- TotalPagesChanged());
+ FOR_EACH_OBSERVER(PaginationModelObserver, observers_, TotalPagesChanged());
}
void PaginationModel::SelectPage(int page, bool animate) {
« no previous file with comments | « ui/app_list/page_switcher.cc ('k') | ui/app_list/search_box_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698