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

Unified Diff: chrome/browser/ui/passwords/password_dialog_controller_impl.cc

Issue 1610653002: Integrate the account chooser dialog on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 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/passwords/password_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/passwords/password_dialog_controller_impl.cc b/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
index bb4d6ab4c87a760efee64838d917d03c2bdc4036..ca327ce06ada891d5b5fee92ead3468a1f050bd5 100644
--- a/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
+++ b/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
@@ -37,6 +37,7 @@ void PasswordDialogControllerImpl::ShowAccountChooser(
std::vector<scoped_ptr<autofill::PasswordForm>> locals,
std::vector<scoped_ptr<autofill::PasswordForm>> federations) {
DCHECK(!current_dialog_);
+ DCHECK(dialog);
local_credentials_.swap(locals);
federated_credentials_.swap(federations);
current_dialog_ = dialog;
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698