Index: chrome/browser/ui/views/profile_menu_button.cc |
=================================================================== |
--- chrome/browser/ui/views/profile_menu_button.cc (revision 88218) |
+++ chrome/browser/ui/views/profile_menu_button.cc (working copy) |
@@ -55,7 +55,7 @@ |
menu_model_adapter.BuildMenu(&menu); |
gfx::Point menu_point(pt.x(), pt.y() + kMenuDisplayOffset); |
- menu.RunMenuAt(source->GetWindow()->GetNativeWindow(), NULL, |
+ menu.RunMenuAt(source->GetWidget()->GetNativeWindow(), NULL, |
gfx::Rect(pt, gfx::Size(0, 0)), |
views::MenuItemView::TOPRIGHT, |
true); |