Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index 185f3e48aa8483dfa95ff389f7dacb1d87619414..0ec07183e641b6e20914cde9a875a5a0c4698f8f 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -593,12 +593,6 @@ void ExistingUserController::OnOffTheRecordLoginSuccess() { |
void ExistingUserController::OnPasswordChangeDetected( |
const GaiaAuthConsumer::ClientLoginResult& credentials) { |
- // When signing in as a "New user" always remove old cryptohome. |
- if (selected_view_index_ == controllers_.size() - 1) { |
- ResyncEncryptedData(); |
- return; |
- } |
- |
// Must not proceed without signature verification. |
bool trusted_setting_available = user_settings_->RequestTrustedOwner( |
method_factory_.NewRunnableMethod( |