Index: chrome/browser/sync/util/cryptographer.cc |
diff --git a/chrome/browser/sync/util/cryptographer.cc b/chrome/browser/sync/util/cryptographer.cc |
index f7ac50e334f10a1360b740cde4bfcdb7a463c0ab..4990d8b9f275f353de6ba7ef9e92263eada4ea19 100644 |
--- a/chrome/browser/sync/util/cryptographer.cc |
+++ b/chrome/browser/sync/util/cryptographer.cc |
@@ -386,7 +386,7 @@ void Cryptographer::SetEncryptedTypes( |
if (encrypted_types_ == encrypted_types) { |
akalin
2011/11/17 03:09:20
should be:
if (std::includes(encrypted_types_.beg
Nicolas Zea
2011/11/17 05:10:00
Done.
|
return; |
} |
- encrypted_types_ = encrypted_types; |
+ encrypted_types_.insert(encrypted_types.begin(), encrypted_types.end()); |
EmitEncryptedTypesChangedNotification(); |
} |