diff options
Diffstat (limited to 'components/gcm_driver/crypto/gcm_key_store.cc')
-rw-r--r-- | components/gcm_driver/crypto/gcm_key_store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gcm_driver/crypto/gcm_key_store.cc b/components/gcm_driver/crypto/gcm_key_store.cc index 888b294..346208d 100644 --- a/components/gcm_driver/crypto/gcm_key_store.cc +++ b/components/gcm_driver/crypto/gcm_key_store.cc @@ -118,7 +118,7 @@ void GCMKeyStore::CreateKeysAfterInitialize(const std::string& app_id, entries_to_save->push_back(std::make_pair(app_id, encryption_data)); database_->UpdateEntries( - entries_to_save.Pass(), keys_to_remove.Pass(), + std::move(entries_to_save), std::move(keys_to_remove), base::Bind(&GCMKeyStore::DidStoreKeys, weak_factory_.GetWeakPtr(), app_id, *pair, auth_secret, callback)); } @@ -165,7 +165,7 @@ void GCMKeyStore::DeleteKeysAfterInitialize(const std::string& app_id, new std::vector<std::string>(1, app_id)); database_->UpdateEntries( - entries_to_save.Pass(), keys_to_remove.Pass(), + std::move(entries_to_save), std::move(keys_to_remove), base::Bind(&GCMKeyStore::DidDeleteKeys, weak_factory_.GetWeakPtr(), app_id, callback)); } |