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 a158ec2cbac4052f3a8734c66069e104c60ab519..eea0fb7d3e92d27b96f6c0ecd2ab57faf6408918 100644 |
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
@@ -960,7 +960,7 @@ void ManagePasswordsBubbleView::Close() { |
void ManagePasswordsBubbleView::Refresh() { |
RemoveAllChildViews(true); |
initially_focused_view_ = NULL; |
- if (password_manager::ui::IsPendingState(model()->state())) { |
+ if (model()->state() == password_manager::ui::PENDING_PASSWORD_STATE) { |
if (model()->never_save_passwords()) |
AddChildView(new ConfirmNeverView(this)); |
else |
@@ -971,7 +971,8 @@ void ManagePasswordsBubbleView::Refresh() { |
AddChildView(new BlacklistedView(this)); |
} else if (model()->state() == password_manager::ui::CONFIRMATION_STATE) { |
AddChildView(new SaveConfirmationView(this)); |
- } else if (password_manager::ui::IsCredentialsState(model()->state())) { |
+ } else if (model()->state() == |
+ password_manager::ui::CREDENTIAL_REQUEST_STATE) { |
AddChildView(new AccountChooserView(this)); |
} else { |
AddChildView(new ManageView(this)); |