Index: base/prefs/testing_pref_store.cc |
diff --git a/base/prefs/testing_pref_store.cc b/base/prefs/testing_pref_store.cc |
index d40fb8ad747cc3818f09d5b78126f2346d49cc00..85f35bb17d1e9efff12dcb49d91033a039793a5c 100644 |
--- a/base/prefs/testing_pref_store.cc |
+++ b/base/prefs/testing_pref_store.cc |
@@ -92,15 +92,15 @@ void TestingPrefStore::ReportValueChanged(const std::string& key) { |
void TestingPrefStore::SetString(const std::string& key, |
const std::string& value) { |
- SetValue(key, Value::CreateStringValue(value)); |
+ SetValue(key, new base::StringValue(value)); |
} |
void TestingPrefStore::SetInteger(const std::string& key, int value) { |
- SetValue(key, Value::CreateIntegerValue(value)); |
+ SetValue(key, new base::FundamentalValue(value)); |
} |
void TestingPrefStore::SetBoolean(const std::string& key, bool value) { |
- SetValue(key, Value::CreateBooleanValue(value)); |
+ SetValue(key, new base::FundamentalValue(value)); |
} |
bool TestingPrefStore::GetString(const std::string& key, |