Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: sync/internal_api/shared_model_type_processor.cc

Issue 1800313002: [Sync] USS: Add SMTP tests, clean up constants, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stricter ApplyMetadataChangeList. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/internal_api/shared_model_type_processor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/shared_model_type_processor.cc
diff --git a/sync/internal_api/shared_model_type_processor.cc b/sync/internal_api/shared_model_type_processor.cc
index cb51cb728d1b47aec01b191cd6338abd75d37b68..c963a3c7a4d8e3471d58b9f8e18390e41eb4ead0 100644
--- a/sync/internal_api/shared_model_type_processor.cc
+++ b/sync/internal_api/shared_model_type_processor.cc
@@ -393,8 +393,7 @@ void SharedModelTypeProcessor::OnUpdateReceived(
DVLOG(2) << ModelTypeToString(type_) << ": Requesting re-encrypt commit "
<< update.encryption_key_name << " -> "
<< data_type_state_.encryption_key_name();
- auto it2 = entities_.find(client_tag_hash);
- it2->second->UpdateDesiredEncryptionKey(
+ entity->UpdateDesiredEncryptionKey(
data_type_state_.encryption_key_name());
}
« no previous file with comments | « no previous file | sync/internal_api/shared_model_type_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698