diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 17:54:05 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 17:54:05 +0000 |
commit | 0080014ab402356ba511237dd6e4729befd276a5 (patch) | |
tree | 9e631a19c520c4960d23532c4969eb1f4f5b6d88 | |
parent | aae2813aeb713092b9a789da8e1690489e87d6ee (diff) | |
download | chromium_src-0080014ab402356ba511237dd6e4729befd276a5.zip chromium_src-0080014ab402356ba511237dd6e4729befd276a5.tar.gz chromium_src-0080014ab402356ba511237dd6e4729befd276a5.tar.bz2 |
rAc: revert ill-advised change from r232437
BUG=none
R=isherman@chromium.org
Review URL: https://codereview.chromium.org/49913006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232727 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc index bd9c2f9..97af1ca 100644 --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc @@ -999,12 +999,9 @@ void AutofillDialogControllerImpl::SignedInStateUpdated() { switch (SignedInState()) { case SIGNED_IN: - // If we are already fetching the username, then just keep waiting. - if (username_fetcher_.get()) - break; - // Start fetching the user name if we don't know it yet. if (!account_chooser_model_.HasAccountsToChoose()) { + DCHECK(!username_fetcher_); username_fetcher_.reset(new wallet::WalletSigninHelper( this, profile_->GetRequestContext())); username_fetcher_->StartUserNameFetch(); |