Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index 07ac04e03b27f8c020fef938e0a723ef38e6788d..50f1af77a254398abf2da46bacae22ff32d9c8eb 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -874,10 +874,12 @@ void AutofillDialogViews::ButtonPressed(views::Button* sender, |
group->container->SetActive(true); |
// Ignore the result since we don't need to handle a deleted menu specially. |
+ gfx::Rect bounds = group->suggested_button->GetBoundsInScreen(); |
+ bounds.Inset(group->suggested_button->GetInsets()); |
ignore_result( |
menu_runner_->RunMenuAt(sender->GetWidget(), |
NULL, |
- group->suggested_button->GetBoundsInScreen(), |
+ bounds, |
views::MenuItemView::TOPRIGHT, |
0)); |
group->container->SetActive(false); |