| Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| index 06299c1d2a2bd8244467afcac02a0871e3d16e51..383cd1f2930323e0c238c1ec4aca88a7a8963dce 100644
|
| --- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| +++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| @@ -221,7 +221,7 @@ void PasswordGenerationPopupViewViews::PasswordSelectionUpdated() {
|
| void PasswordGenerationPopupViewViews::Layout() {
|
| // Need to leave room for the border.
|
| int y = kPopupBorderThickness;
|
| - int popup_width = bounds().width() - 2 * kPopupBorderThickness;
|
| + int popup_width = GetPopupBounds().width() - 2 * kPopupBorderThickness;
|
| if (controller_->display_password()) {
|
| // Currently the UI can change from not offering a password to offering
|
| // a password (e.g. the user is editing a generated password and deletes
|
|
|