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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm

Issue 928753003: Clean password_manager::ui::State (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear more Created 5 years, 10 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/cocoa/passwords/manage_passwords_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
index b3be40463009b4e9af0d884189ff977a91df6c6b..e7b826f6e504567d50c78b5a67a44d15599db25b 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
@@ -50,7 +50,7 @@
- (void)updateState {
// Find the next view controller.
currentController_.reset();
- if (password_manager::ui::IsPendingState(model_->state())) {
+ if (model_->state() == password_manager::ui::PENDING_PASSWORD_STATE) {
currentController_.reset(
[[ManagePasswordsBubblePendingViewController alloc]
initWithModel:model_

Powered by Google App Engine
This is Rietveld 408576698