Index: components/sync/core_impl/sync_encryption_handler_impl.cc |
diff --git a/components/sync/core_impl/sync_encryption_handler_impl.cc b/components/sync/core_impl/sync_encryption_handler_impl.cc |
index 795cc0cd1a448401c614953b4c98da1a00fd4bbc..07c410e64653083290a3b50b2e77ce9ec9c20e7e 100644 |
--- a/components/sync/core_impl/sync_encryption_handler_impl.cc |
+++ b/components/sync/core_impl/sync_encryption_handler_impl.cc |
@@ -850,7 +850,8 @@ void SyncEncryptionHandlerImpl::ReEncryptEverything(WriteTransaction* trans) { |
WriteNode child(trans); |
if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK) |
break; // Possible if we failed to decrypt the data for some reason. |
- child.SetPasswordSpecifics(child.GetPasswordSpecifics()); |
+ child.SetPasswordSpecifics(child.GetPasswordSpecifics(), |
+ GetPassphraseType(trans->GetWrappedTrans())); |
child_id = child.GetSuccessorId(); |
} |
} |