| Index: components/filesystem/public/cpp/prefs/pref_service_factory.cc
|
| diff --git a/components/filesystem/public/cpp/prefs/pref_service_factory.cc b/components/filesystem/public/cpp/prefs/pref_service_factory.cc
|
| index 67871addc41dffcf53e5a1a6e17732271aba3072..325b5e6191f1cd386038875db77c296ce29b0c46 100644
|
| --- a/components/filesystem/public/cpp/prefs/pref_service_factory.cc
|
| +++ b/components/filesystem/public/cpp/prefs/pref_service_factory.cc
|
| @@ -23,8 +23,8 @@ void DoNothingHandleReadError(PersistentPrefStore::PrefReadError error) {}
|
|
|
| } // namespace
|
|
|
| -scoped_ptr<PrefService> CreatePrefService(shell::Connector* connector,
|
| - PrefRegistry* pref_registry) {
|
| +std::unique_ptr<PrefService> CreatePrefService(shell::Connector* connector,
|
| + PrefRegistry* pref_registry) {
|
| filesystem::FileSystemPtr filesystem;
|
| connector->ConnectToInterface("mojo:filesystem", &filesystem);
|
|
|
| @@ -33,7 +33,7 @@ scoped_ptr<PrefService> CreatePrefService(shell::Connector* connector,
|
| nullptr /* TODO(erg): pref filter */);
|
|
|
| PrefNotifierImpl* pref_notifier = new PrefNotifierImpl();
|
| - scoped_ptr<PrefService> pref_service(new PrefService(
|
| + std::unique_ptr<PrefService> pref_service(new PrefService(
|
| pref_notifier,
|
| new PrefValueStore(nullptr, nullptr, nullptr, nullptr, user_prefs.get(),
|
| nullptr, pref_registry->defaults().get(),
|
|
|