Index: components/prefs/pref_service.h |
diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h |
index d26e118d8912a90d053b9d09ca467e9fda4547f1..e08e361c40b618da1637b995323745dfc1e0052f 100644 |
--- a/components/prefs/pref_service.h |
+++ b/components/prefs/pref_service.h |
@@ -355,7 +355,8 @@ class COMPONENTS_PREFS_EXPORT PrefService : public base::NonThreadSafe { |
// Sets the value for this pref path in the user pref store and informs the |
// PrefNotifier of the change. |
- void SetUserPrefValue(const std::string& path, base::Value* new_value); |
+ void SetUserPrefValue(const std::string& path, |
+ std::unique_ptr<base::Value> new_value); |
// Load preferences from storage, attempting to diagnose and handle errors. |
// This should only be called from the constructor. |