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

Unified Diff: components/sync_preferences/pref_service_syncable_factory.cc

Issue 2778643002: Pref service: Filter updates from read-only pref stores. (Closed)
Patch Set: Created 3 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 | services/preferences/persistent_pref_store_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_preferences/pref_service_syncable_factory.cc
diff --git a/components/sync_preferences/pref_service_syncable_factory.cc b/components/sync_preferences/pref_service_syncable_factory.cc
index 95a1a3441d79d432068a60222fd210c8e7227cb8..23029ba5017bf0d19ad1cc9003856c6afe777410 100644
--- a/components/sync_preferences/pref_service_syncable_factory.cc
+++ b/components/sync_preferences/pref_service_syncable_factory.cc
@@ -70,9 +70,8 @@ scoped_refptr<::PrefStore> CreateRegisteredPrefStore(
prefs::mojom::PrefStoreRegistryPtr registry_ptr;
connector->BindInterface(prefs::mojom::kPrefStoreServiceName, &registry_ptr);
return make_scoped_refptr(new prefs::PrefStoreAdapter(
- backing_pref_store,
- prefs::PrefStoreImpl::Create(std::move(registry_ptr), backing_pref_store,
- type)));
+ backing_pref_store, prefs::PrefStoreImpl::Create(
+ registry_ptr.get(), backing_pref_store, type)));
}
} // namespace
« no previous file with comments | « no previous file | services/preferences/persistent_pref_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698