| Index: chromeos/dbus/gsm_sms_client_unittest.cc
|
| diff --git a/chromeos/dbus/gsm_sms_client_unittest.cc b/chromeos/dbus/gsm_sms_client_unittest.cc
|
| index fb52c37479eeb03281efe41f272ecc4248076f76..29e3fea8bc527e5336792b4283e06ba376596533 100644
|
| --- a/chromeos/dbus/gsm_sms_client_unittest.cc
|
| +++ b/chromeos/dbus/gsm_sms_client_unittest.cc
|
| @@ -256,10 +256,8 @@ TEST_F(GsmSMSClientTest, Get) {
|
| response_ = response.get();
|
| // Create expected result.
|
| base::DictionaryValue expected_result;
|
| - expected_result.SetWithoutPathExpansion(kNumberKey,
|
| - new base::Value(kExampleNumber));
|
| - expected_result.SetWithoutPathExpansion(kTextKey,
|
| - new base::Value(kExampleText));
|
| + expected_result.SetStringWithoutPathExpansion(kNumberKey, kExampleNumber);
|
| + expected_result.SetStringWithoutPathExpansion(kTextKey, kExampleText);
|
| expected_result_ = &expected_result;
|
| // Call Get.
|
| client_->Get(kServiceName, dbus::ObjectPath(kObjectPath), kIndex,
|
| @@ -298,8 +296,8 @@ TEST_F(GsmSMSClientTest, List) {
|
| // Create expected result.
|
| base::ListValue expected_result;
|
| auto sms = base::MakeUnique<base::DictionaryValue>();
|
| - sms->SetWithoutPathExpansion(kNumberKey, new base::Value(kExampleNumber));
|
| - sms->SetWithoutPathExpansion(kTextKey, new base::Value(kExampleText));
|
| + sms->SetStringWithoutPathExpansion(kNumberKey, kExampleNumber);
|
| + sms->SetStringWithoutPathExpansion(kTextKey, kExampleText);
|
| expected_result.Append(std::move(sms));
|
| expected_result_ = &expected_result;
|
| // Call List.
|
|
|