Index: dbus/values_util_unittest.cc |
diff --git a/dbus/values_util_unittest.cc b/dbus/values_util_unittest.cc |
index 13c496bb1458fa693d5dcaf48ba1753d38754bae..0cc7d9164f85d8ec3caa97dafb78680a31ffdd57 100644 |
--- a/dbus/values_util_unittest.cc |
+++ b/dbus/values_util_unittest.cc |
@@ -338,10 +338,9 @@ TEST(ValuesUtilTest, PopDictionaryWithDottedStringKey) { |
// Create the expected value. |
base::DictionaryValue dictionary_value; |
- dictionary_value.SetWithoutPathExpansion(kKey1, new base::Value(kBoolValue)); |
- dictionary_value.SetWithoutPathExpansion(kKey2, new base::Value(kInt32Value)); |
- dictionary_value.SetWithoutPathExpansion(kKey3, |
- new base::Value(kDoubleValue)); |
+ dictionary_value.SetBooleanWithoutPathExpansion(kKey1, kBoolValue); |
+ dictionary_value.SetIntegerWithoutPathExpansion(kKey2, kInt32Value); |
+ dictionary_value.SetDoubleWithoutPathExpansion(kKey3, kDoubleValue); |
// Pop a dictinoary. |
MessageReader reader(response.get()); |