Index: chrome/browser/ui/views/passwords/credentials_item_view.cc |
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.cc b/chrome/browser/ui/views/passwords/credentials_item_view.cc |
index 0c4bdbb2318388eccaa5b211754ab31db2f5270f..a0af6f1505904e29d2b20c93ca8ad50997e479be 100644 |
--- a/chrome/browser/ui/views/passwords/credentials_item_view.cc |
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.cc |
@@ -56,10 +56,13 @@ void CircularImageView::OnPaint(gfx::Canvas* canvas) { |
} // namespace |
-CredentialsItemView::CredentialsItemView(views::ButtonListener* button_listener, |
- const autofill::PasswordForm& form) |
+CredentialsItemView::CredentialsItemView( |
+ views::ButtonListener* button_listener, |
+ const autofill::PasswordForm& form, |
+ password_manager::CredentialType credential_type) |
: LabelButton(button_listener, base::string16()), |
- form_(form) { |
+ form_(form), |
+ credential_type_(credential_type) { |
set_notify_enter_exit_on_child(true); |
// Create an image-view for the avatar. Make sure it ignores events so that |
// the parent can receive the events instead. |