Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
index 18fe3a97dc43fecfc77998fdfb44f64ab3009b8d..b4123dd7ea291d91c527c07d4bf008cc2b53330b 100644 |
--- a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
@@ -87,7 +87,7 @@ GlassBrowserFrameView::GlassBrowserFrameView(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()); |