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

Unified Diff: ui/app_list/cocoa/apps_grid_controller.mm

Issue 23766018: Based off 20656002 Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: compiles on mac, tests "pass", but Menu is wrong Created 7 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 | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/app_list/cocoa/apps_search_box_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/apps_grid_controller.mm
diff --git a/ui/app_list/cocoa/apps_grid_controller.mm b/ui/app_list/cocoa/apps_grid_controller.mm
index a96318267d1b880677165bd3a6727737782d8f14..851653e6837f5d2306b19f96b87862c813a5a8af 100644
--- a/ui/app_list/cocoa/apps_grid_controller.mm
+++ b/ui/app_list/cocoa/apps_grid_controller.mm
@@ -213,7 +213,7 @@ class AppsGridDelegateBridge : public ui::ListModelObserver {
scoped_ptr<app_list::AppListModel> newModel(new app_list::AppListModel);
delegate_ = newDelegate;
if (delegate_)
- delegate_->SetModel(newModel.get()); // Populates items.
+ delegate_->InitModel(newModel.get()); // Populates items.
[self setModel:newModel.Pass()];
}
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/app_list/cocoa/apps_search_box_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698