summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/avatar_menu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/avatar_menu.cc')
-rw-r--r--chrome/browser/ui/views/avatar_menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/avatar_menu.cc b/chrome/browser/ui/views/avatar_menu.cc
index 656be6c..346f521 100644
--- a/chrome/browser/ui/views/avatar_menu.cc
+++ b/chrome/browser/ui/views/avatar_menu.cc
@@ -194,6 +194,6 @@ void AvatarMenu::RunMenu(views::MenuButton* host) {
gfx::Point screen_loc;
views::View::ConvertPointToScreen(host, &screen_loc);
gfx::Rect bounds(screen_loc, host->size());
- root_->RunMenuAt(host->GetWidget()->GetNativeWindow(), host, bounds,
- views::MenuItemView::TOPLEFT, true);
+ root_->RunMenuAt(host->GetWidget(), host, bounds,
+ views::MenuItemView::TOPLEFT, true);
}