Index: chromeos/dbus/shill_service_client_unittest.cc |
diff --git a/chromeos/dbus/shill_service_client_unittest.cc b/chromeos/dbus/shill_service_client_unittest.cc |
index 7adc82850dcc43007613fbb2c886ca2d81706ade..72d3fa35e7e5867a629b8c93df5cd1e12abf6897 100644 |
--- a/chromeos/dbus/shill_service_client_unittest.cc |
+++ b/chromeos/dbus/shill_service_client_unittest.cc |
@@ -99,8 +99,7 @@ TEST_F(ShillServiceClientTest, GetProperties) { |
// Set expectations. |
base::DictionaryValue value; |
- value.SetWithoutPathExpansion(shill::kSignalStrengthProperty, |
- new base::Value(kValue)); |
+ value.SetIntegerWithoutPathExpansion(shill::kSignalStrengthProperty, kValue); |
PrepareForMethodCall(shill::kGetPropertiesFunction, |
base::Bind(&ExpectNoArgument), |
response.get()); |