Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc

Issue 854173003: Credential Management API: the account chooser dialog supports custom avatars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698