Index: components/prefs/testing_pref_store.cc |
diff --git a/components/prefs/testing_pref_store.cc b/components/prefs/testing_pref_store.cc |
index 8f6f2098d470ff4802f56879f0fc7fbd34ffa7ea..e9b04c8e54fb3b3be5fba825b23f46aa8491cefd 100644 |
--- a/components/prefs/testing_pref_store.cc |
+++ b/components/prefs/testing_pref_store.cc |
@@ -124,8 +124,7 @@ void TestingPrefStore::ReportValueChanged(const std::string& key, |
void TestingPrefStore::SetString(const std::string& key, |
const std::string& value) { |
- SetValue(key, base::MakeUnique<base::StringValue>(value), |
- DEFAULT_PREF_WRITE_FLAGS); |
+ SetValue(key, base::MakeUnique<base::Value>(value), DEFAULT_PREF_WRITE_FLAGS); |
} |
void TestingPrefStore::SetInteger(const std::string& key, int value) { |