| Index: trunk/src/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (revision 271363)
|
| +++ trunk/src/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (working copy)
|
| @@ -137,7 +137,7 @@
|
| }
|
|
|
| void PasswordGenerationPopupControllerImpl::PasswordSelected(bool selected) {
|
| - if (!display_password_)
|
| + if (!display_password_ || selected == password_selected_)
|
| return;
|
|
|
| password_selected_ = selected;
|
| @@ -289,8 +289,7 @@
|
|
|
| void PasswordGenerationPopupControllerImpl::SetSelectionAtPoint(
|
| const gfx::Point& point) {
|
| - if (password_bounds_.Contains(point))
|
| - PasswordSelected(true);
|
| + PasswordSelected(password_bounds_.Contains(point));
|
| }
|
|
|
| bool PasswordGenerationPopupControllerImpl::AcceptSelectedLine() {
|
|
|