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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address comments. Created 4 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: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index dd16a4bceca2ff9dc54dcd0165f5b93507bde7f2..8f4e9b703bab95c0f6f4d2ee64b4eb444a7a9239 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -434,8 +434,7 @@ app_list::AppListPresenter* ChromeShellDelegate::GetAppListPresenter() {
ash::ShelfDelegate* ChromeShellDelegate::CreateShelfDelegate(
ash::ShelfModel* model) {
if (!shelf_delegate_) {
- shelf_delegate_ =
- ChromeLauncherControllerImpl::CreateInstance(nullptr, model);
+ shelf_delegate_ = new ChromeLauncherControllerImpl(nullptr, model);
shelf_delegate_->Init();
}
return shelf_delegate_;
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698