Index: chromeos/dbus/shill_ipconfig_client_unittest.cc |
diff --git a/chromeos/dbus/shill_ipconfig_client_unittest.cc b/chromeos/dbus/shill_ipconfig_client_unittest.cc |
index dd79e2ce43c35bac347e3d442651986b14bc7d5e..43653580c75e750e30dc1631dbc6280a1443096f 100644 |
--- a/chromeos/dbus/shill_ipconfig_client_unittest.cc |
+++ b/chromeos/dbus/shill_ipconfig_client_unittest.cc |
@@ -105,9 +105,8 @@ TEST_F(ShillIPConfigClientTest, GetProperties) { |
// Create the expected value. |
base::DictionaryValue value; |
- value.SetWithoutPathExpansion(shill::kAddressProperty, |
- new base::Value(kAddress)); |
- value.SetWithoutPathExpansion(shill::kMtuProperty, new base::Value(kMtu)); |
+ value.SetStringWithoutPathExpansion(shill::kAddressProperty, kAddress); |
+ value.SetIntegerWithoutPathExpansion(shill::kMtuProperty, kMtu); |
// Set expectations. |
PrepareForMethodCall(shill::kGetPropertiesFunction, |