| Index: chrome/browser/ui/views/passwords/manage_password_items_view.cc
|
| diff --git a/chrome/browser/ui/views/passwords/manage_password_items_view.cc b/chrome/browser/ui/views/passwords/manage_password_items_view.cc
|
| index 55b46ace0b1235baad65306b6f349cc48f6f4fdb..dc72fc264b2a63f62b5e90f3d684f0a8aa4be398 100644
|
| --- a/chrome/browser/ui/views/passwords/manage_password_items_view.cc
|
| +++ b/chrome/browser/ui/views/passwords/manage_password_items_view.cc
|
| @@ -147,7 +147,7 @@ void ManagePasswordItemsView::PasswordFormRow::AddCredentialsRow(
|
| views::GridLayout* layout) {
|
| ResetControls();
|
| int column_set_id =
|
| - password_manager::ui::IsPendingState(host_->model_->state())
|
| + host_->model_->state() == password_manager::ui::PENDING_PASSWORD_STATE
|
| ? TWO_COLUMN_SET
|
| : THREE_COLUMN_SET;
|
| BuildColumnSetIfNeeded(layout, column_set_id);
|
| @@ -248,7 +248,7 @@ void ManagePasswordItemsView::NotifyPasswordFormStatusChanged(
|
| }
|
|
|
| void ManagePasswordItemsView::Refresh() {
|
| - DCHECK(!password_manager::ui::IsPendingState(model_->state()));
|
| + DCHECK_NE(password_manager::ui::PENDING_PASSWORD_STATE, model_->state());
|
| RemoveAllChildViews(true);
|
| AddRows();
|
| }
|
|
|