Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/glass_browser_frame_view.cc (revision 91776) |
+++ chrome/browser/ui/views/frame/glass_browser_frame_view.cc (working copy) |
@@ -87,7 +87,7 @@ |
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()); |