Index: components/prefs/pref_service_unittest.cc |
diff --git a/components/prefs/pref_service_unittest.cc b/components/prefs/pref_service_unittest.cc |
index ea9577726a9fce34d80fca28dece73ad0726e8a2..373c01bcb3f3c2b37ef1966362f100936e61f12a 100644 |
--- a/components/prefs/pref_service_unittest.cc |
+++ b/components/prefs/pref_service_unittest.cc |
@@ -414,7 +414,7 @@ TEST_F(PrefServiceSetValueTest, SetListValue) { |
Mock::VerifyAndClearExpectations(&observer_); |
base::ListValue new_value; |
- new_value.Append(new base::StringValue(kValue)); |
+ new_value.AppendString(kValue); |
observer_.Expect(kName, &new_value); |
prefs_.Set(kName, new_value); |
Mock::VerifyAndClearExpectations(&observer_); |