Index: chromeos/dbus/shill_profile_client_unittest.cc |
diff --git a/chromeos/dbus/shill_profile_client_unittest.cc b/chromeos/dbus/shill_profile_client_unittest.cc |
index 16876e9c63ea4ff632ab9f87f97548eb795d15e6..448343f3a584664473c50bf67000c36960eb1ea3 100644 |
--- a/chromeos/dbus/shill_profile_client_unittest.cc |
+++ b/chromeos/dbus/shill_profile_client_unittest.cc |
@@ -65,7 +65,7 @@ TEST_F(ShillProfileClientTest, PropertyChanged) { |
// Set expectations. |
base::ListValue value; |
- value.Append(new base::StringValue(kExampleEntryPath)); |
+ value.AppendString(kExampleEntryPath); |
MockPropertyChangeObserver observer; |
EXPECT_CALL(observer, |
OnPropertyChanged( |
@@ -107,7 +107,7 @@ TEST_F(ShillProfileClientTest, GetProperties) { |
// Create the expected value. |
base::ListValue* entries = new base::ListValue; |
- entries->Append(new base::StringValue(kExampleEntryPath)); |
+ entries->AppendString(kExampleEntryPath); |
base::DictionaryValue value; |
value.SetWithoutPathExpansion(shill::kEntriesProperty, entries); |
// Set expectations. |