Index: chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
index f90c820bb3e85729d3a22ae1e1c17218e3e4c108..4399cbc33f173a36dd2ba34a9d2b277c8094d83b 100644 |
--- a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
@@ -178,11 +178,11 @@ void SupervisedUserAuthentication::StorePasswordData( |
owner_->GetPasswordInformation(user_id, &holder); |
const base::Value* value; |
if (password_data.GetWithoutPathExpansion(kSchemaVersion, &value)) |
- holder.SetWithoutPathExpansion(kSchemaVersion, value->DeepCopy()); |
+ holder.SetWithoutPathExpansion(kSchemaVersion, value->CreateDeepCopy()); |
if (password_data.GetWithoutPathExpansion(kSalt, &value)) |
- holder.SetWithoutPathExpansion(kSalt, value->DeepCopy()); |
+ holder.SetWithoutPathExpansion(kSalt, value->CreateDeepCopy()); |
if (password_data.GetWithoutPathExpansion(kPasswordRevision, &value)) |
- holder.SetWithoutPathExpansion(kPasswordRevision, value->DeepCopy()); |
+ holder.SetWithoutPathExpansion(kPasswordRevision, value->CreateDeepCopy()); |
owner_->SetPasswordInformation(user_id, &holder); |
} |