Index: sync/internal_api/sync_encryption_handler_impl.cc |
diff --git a/sync/internal_api/sync_encryption_handler_impl.cc b/sync/internal_api/sync_encryption_handler_impl.cc |
index 3a88f53710fb5e3f93ee572cf8b0a22b8acd9010..aea66e5b17b9c78c675633d6a876ea93612b2879 100644 |
--- a/sync/internal_api/sync_encryption_handler_impl.cc |
+++ b/sync/internal_api/sync_encryption_handler_impl.cc |
@@ -1519,7 +1519,7 @@ bool SyncEncryptionHandlerImpl::GetKeystoreDecryptor( |
DCHECK(!keystore_key.empty()); |
DCHECK(cryptographer.is_ready()); |
std::string serialized_nigori; |
- serialized_nigori = cryptographer.GetDefaultNigoriKey(); |
+ serialized_nigori = cryptographer.GetDefaultNigoriKeyData(); |
if (serialized_nigori.empty()) { |
LOG(ERROR) << "Failed to get cryptographer bootstrap token."; |
return false; |