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

Unified Diff: sync/syncable/entry_kernel.cc

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: sync/syncable/entry_kernel.cc
diff --git a/sync/syncable/entry_kernel.cc b/sync/syncable/entry_kernel.cc
index fce4bc2d39219ca50b3832585d5a5aad737858bd..146bbc8e811e363a11f71a94718aa960a9c3c118 100644
--- a/sync/syncable/entry_kernel.cc
+++ b/sync/syncable/entry_kernel.cc
@@ -102,7 +102,7 @@ void SetEncryptableProtoValues(
ProtoField field = static_cast<ProtoField>(i);
const std::string& key = GetProtoFieldString(field);
- scoped_ptr<base::DictionaryValue> value;
+ std::unique_ptr<base::DictionaryValue> value;
sync_pb::EntitySpecifics decrypted;
const sync_pb::EncryptedData& encrypted = kernel.ref(field).encrypted();
if (cryptographer &&

Powered by Google App Engine
This is Rietveld 408576698