| Index: dbus/values_util_unittest.cc
|
| diff --git a/dbus/values_util_unittest.cc b/dbus/values_util_unittest.cc
|
| index 27ec2d0c9899e27d52c2c8a492d406ac9f939825..6abc56a717a0c85207c76ff2bf1636206d298b56 100644
|
| --- a/dbus/values_util_unittest.cc
|
| +++ b/dbus/values_util_unittest.cc
|
| @@ -377,11 +377,9 @@ TEST(ValuesUtilTest, PopDoubleToIntDictionary) {
|
| // Create the expected value.
|
| base::DictionaryValue dictionary_value;
|
| for (size_t i = 0; i != values.size(); ++i) {
|
| - scoped_ptr<base::Value> key_value(new base::FundamentalValue(keys[i]));
|
| std::string key_string;
|
| - base::JSONWriter::Write(key_value.get(), &key_string);
|
| - dictionary_value.SetWithoutPathExpansion(
|
| - key_string, new base::FundamentalValue(values[i]));
|
| + base::JSONWriter::Write(base::FundamentalValue(keys[i]), &key_string);
|
| + dictionary_value.SetIntegerWithoutPathExpansion(key_string, values[i]);
|
| }
|
|
|
| // Pop a dictionary.
|
|
|