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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc

Issue 7321011: Multi-Profiles: Add delete profile command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 9 years, 5 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/views/frame/opaque_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
index fbbcdf8df2dd07226c5a58e04bcb3608db3228a8..0c810d93ae44692b049f0518d4c9021aa2691c2e 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -203,7 +203,7 @@ OpaqueBrowserFrameView::OpaqueBrowserFrameView(BrowserFrame* frame,
if (browser_view_->ShouldShowAvatar()) {
ui::MenuModel* menu_model = browser_view_->IsOffTheRecord() ?
- NULL : new ProfileMenuModel;
+ NULL : new ProfileMenuModel(browser_view_->browser()->profile());
// AvatarMenuButton takes ownership of |menu_model|.
avatar_button_.reset(new AvatarMenuButton(std::wstring(), menu_model));
AddChildView(avatar_button_.get());

Powered by Google App Engine
This is Rietveld 408576698