Chromium Code Reviews| Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
| diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
| index 8da3ab47bd39194b7c2c3eb122ae500284dc6021..9273b7b393f13d81c25538adbd317c4d3daaa313 100644 |
| --- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
| +++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
| @@ -209,7 +209,8 @@ ManagePasswordsBubbleView::AccountChooserView::AccountChooserView( |
| const auto& pending_credentials = parent_->model()->pending_credentials(); |
| for (autofill::PasswordForm* form : pending_credentials) { |
| - CredentialsItemView* credential_view = new CredentialsItemView(this, *form); |
| + CredentialsItemView* credential_view = |
| + new CredentialsItemView(this, *form, parent_->model()->GetProfile()); |
|
Mike West
2015/01/20 17:48:55
It looks like you only use the Profile to get the
vasilii
2015/01/20 19:43:03
Done.
|
| // Add the title to the layout with appropriate padding. |
| layout->StartRow(0, SINGLE_VIEW_COLUMN_SET); |
| layout->AddView(credential_view); |