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 567c467c7bf223f63425dbf56fbee795b5892072..7a67dd0b8a1f07a9f2e1040451e7d8606e7b7477 100644 |
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
@@ -207,8 +207,8 @@ OpaqueBrowserFrameView::OpaqueBrowserFrameView(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); |
@@ -420,13 +420,6 @@ void OpaqueBrowserFrameView::UpdateWindowIcon() { |
} |
/////////////////////////////////////////////////////////////////////////////// |
-// OpaqueBrowserFrameView, views::ViewMenuDelegate overrides: |
-void OpaqueBrowserFrameView::RunMenu(views::View* source, |
- const gfx::Point &pt) { |
- profile_button_->RunMenuAt(pt); |
-} |
- |
-/////////////////////////////////////////////////////////////////////////////// |
// OpaqueBrowserFrameView, views::View overrides: |
void OpaqueBrowserFrameView::OnPaint(gfx::Canvas* canvas) { |