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

Unified Diff: components/sync/syncable/base_node.cc

Issue 2889163002: Remove raw DictionaryValue::Set in //components (Closed)
Patch Set: Nits Created 3 years, 7 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 | « components/sync/syncable/base_node.h ('k') | components/sync/syncable/entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/base_node.cc
diff --git a/components/sync/syncable/base_node.cc b/components/sync/syncable/base_node.cc
index 58096c30a1b3717fc0bbc7ad552e23e638dcc098..9e64f49541a01a23ea331ce546b93cf224db2b5e 100644
--- a/components/sync/syncable/base_node.cc
+++ b/components/sync/syncable/base_node.cc
@@ -217,7 +217,7 @@ int BaseNode::GetPositionIndex() const {
return GetEntry()->GetPositionIndex();
}
-base::DictionaryValue* BaseNode::ToValue() const {
+std::unique_ptr<base::DictionaryValue> BaseNode::ToValue() const {
return GetEntry()->ToValue(GetTransaction()->GetCryptographer());
}
« no previous file with comments | « components/sync/syncable/base_node.h ('k') | components/sync/syncable/entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698