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

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

Issue 1857213004: Refactor of LauncherContextMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits update Created 4 years, 8 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 | chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 08b3c3948253dd1f81d922ceebf3d04d8653df4c..22398abc65ab95e1be89deb27de67fb0b4e08035 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -162,7 +162,7 @@ ui::MenuModel* ChromeShellDelegate::CreateContextMenu(
if (chrome::IsRunningInAppMode())
return nullptr;
- return new LauncherContextMenu(shelf_delegate_, item, shelf);
+ return LauncherContextMenu::Create(shelf_delegate_, item, shelf);
}
ash::GPUSupport* ChromeShellDelegate::CreateGPUSupport() {
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698