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 04f05feb0b5179effe260fbd2bf53627fa57a55d..a6f631482c2bf543ef0609450227deabfd131c39 100644 |
--- a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc |
@@ -91,8 +91,8 @@ GlassBrowserFrameView::GlassBrowserFrameView(BrowserFrame* frame, |
if (browser_command_line.HasSwitch(switches::kMultiProfiles) && |
!browser_view->ShouldShowOffTheRecordAvatar()) { |
RegisterLoginNotifications(); |
- profile_button_.reset(new ProfileMenuButton(NULL, std::wstring(), |
- this, browser_view_->browser()->profile())); |
+ profile_button_.reset(new ProfileMenuButton(std::wstring(), |
+ browser_view_->browser()->profile())); |
profile_button_->SetVisible(false); |
profile_tag_.reset(new ProfileTagView(frame_, profile_button_.get())); |
profile_tag_->SetVisible(false); |
@@ -225,12 +225,6 @@ int GlassBrowserFrameView::NonClientHitTest(const gfx::Point& point) { |
} |
/////////////////////////////////////////////////////////////////////////////// |
-// GlassBrowserFrameView, views::ViewMenuDelegate implementation: |
-void GlassBrowserFrameView::RunMenu(views::View *source, const gfx::Point &pt) { |
- profile_button_->RunMenuAt(pt); |
-} |
- |
-/////////////////////////////////////////////////////////////////////////////// |
// GlassBrowserFrameView, views::View overrides: |
void GlassBrowserFrameView::OnPaint(gfx::Canvas* canvas) { |