Index: chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
diff --git a/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc b/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
index 6ae212ff3adadbcd2d42b09764fd413d5bd20cbb..c90a10674d0c38b4686dc6936ec646bfeccac19a 100644 |
--- a/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
+++ b/chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc |
@@ -96,7 +96,7 @@ class ProfileInfoHandlerTest : public testing::Test { |
TEST_F(ProfileInfoHandlerTest, GetProfileInfo) { |
base::ListValue list_args; |
- list_args.Append(new base::StringValue("get-profile-info-callback-id")); |
+ list_args.AppendString("get-profile-info-callback-id"); |
handler()->HandleGetProfileInfo(&list_args); |
EXPECT_EQ(1U, web_ui()->call_data().size()); |
@@ -117,7 +117,7 @@ TEST_F(ProfileInfoHandlerTest, GetProfileInfo) { |
TEST_F(ProfileInfoHandlerTest, PushProfileInfo) { |
base::ListValue list_args; |
- list_args.Append(new base::StringValue("get-profile-info-callback-id")); |
+ list_args.AppendString("get-profile-info-callback-id"); |
handler()->HandleGetProfileInfo(&list_args); |
handler()->OnProfileAvatarChanged(base::FilePath()); |