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

Unified Diff: services/preferences/public/cpp/pref_store_client.cc

Issue 2803023005: Switch base::Value typemapping to be by value instead of by unique_ptr.
Patch Set: Created 3 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: services/preferences/public/cpp/pref_store_client.cc
diff --git a/services/preferences/public/cpp/pref_store_client.cc b/services/preferences/public/cpp/pref_store_client.cc
index 441e8154589af80d25a0cb0419e07ffd8e1503a5..a65a20554ca801861faba7495300b7a0cd2f604b 100644
--- a/services/preferences/public/cpp/pref_store_client.cc
+++ b/services/preferences/public/cpp/pref_store_client.cc
@@ -9,7 +9,7 @@
namespace prefs {
PrefStoreClient::PrefStoreClient(mojom::PrefStoreConnectionPtr connection) {
- Init(std::move(connection->initial_prefs), connection->is_initialized,
+ Init(&connection->initial_prefs, connection->is_initialized,
std::move(connection->observer));
}
« no previous file with comments | « services/preferences/public/cpp/pref_registry_serializer.cc ('k') | services/preferences/public/cpp/pref_store_client_mixin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698