| Index: components/prefs/testing_pref_service.h
|
| diff --git a/components/prefs/testing_pref_service.h b/components/prefs/testing_pref_service.h
|
| index 756858907f11709d667d421aa68131b3a28fab47..f29e506d853ae28a830a0ad68e49f1c30352f3ec 100644
|
| --- a/components/prefs/testing_pref_service.h
|
| +++ b/components/prefs/testing_pref_service.h
|
| @@ -5,9 +5,11 @@
|
| #ifndef COMPONENTS_PREFS_TESTING_PREF_SERVICE_H_
|
| #define COMPONENTS_PREFS_TESTING_PREF_SERVICE_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/prefs/pref_registry.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/prefs/testing_pref_store.h"
|
| @@ -183,7 +185,7 @@ void TestingPrefServiceBase<SuperPrefService, ConstructionPrefRegistry>::
|
| SetPref(TestingPrefStore* pref_store,
|
| const std::string& path,
|
| base::Value* value) {
|
| - pref_store->SetValue(path, make_scoped_ptr(value),
|
| + pref_store->SetValue(path, base::WrapUnique(value),
|
| WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
|
|