Index: chrome/browser/prefs/pref_hash_calculator_unittest.cc |
diff --git a/chrome/browser/prefs/pref_hash_calculator_unittest.cc b/chrome/browser/prefs/pref_hash_calculator_unittest.cc |
index 128c39d8790271c93622c0c5d177e2e6697998f3..87c218e34f4356fb22b7464b4d86b9fe43805212 100644 |
--- a/chrome/browser/prefs/pref_hash_calculator_unittest.cc |
+++ b/chrome/browser/prefs/pref_hash_calculator_unittest.cc |
@@ -86,8 +86,8 @@ TEST(PrefHashCalculatorTest, CatchHashChanges) { |
base::Value::CreateIntegerValue(1234567890)); |
scoped_ptr<base::Value> double_value( |
base::Value::CreateDoubleValue(123.0987654321)); |
- scoped_ptr<base::Value> string_value(base::Value::CreateStringValue( |
- "testing with special chars:\n<>{}:^^@#$\\/")); |
+ scoped_ptr<base::Value> string_value( |
+ new base::StringValue("testing with special chars:\n<>{}:^^@#$\\/")); |
// For legacy reasons, we have to support pruning of empty lists/dictionaries |
// and nested empty ists/dicts in the hash generation algorithm. |