| Index: chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_avatar_icon_util_unittest.cc b/chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
|
| index bf5e7c265fb8ecb51ee6c2f35fad425a565d50c7..1cb97ab4f00789e24fea8e30120825bd8db3ee98 100644
|
| --- a/chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
|
| @@ -38,7 +38,7 @@ TEST(ProfileInfoUtilTest, SizedMenuIcon) {
|
| const gfx::Image& profile_image(
|
| ResourceBundle::GetSharedInstance().GetImageNamed(IDR_PROFILE_AVATAR_0));
|
| gfx::Image result =
|
| - profiles::GetSizedAvatarIconWithBorder(profile_image, false, 50, 50);
|
| + profiles::GetSizedAvatarIcon(profile_image, false, 50, 50);
|
|
|
| EXPECT_FALSE(gfx::test::IsEmpty(result));
|
| EXPECT_TRUE(gfx::test::IsEqual(profile_image, result));
|
| @@ -47,9 +47,8 @@ TEST(ProfileInfoUtilTest, SizedMenuIcon) {
|
| gfx::Image rect_picture(gfx::test::CreateImage());
|
|
|
| gfx::Size size(30, 20);
|
| - gfx::Image result2 =
|
| - profiles::GetSizedAvatarIconWithBorder(
|
| - rect_picture, true, size.width(), size.height());
|
| + gfx::Image result2 = profiles::GetSizedAvatarIcon(
|
| + rect_picture, true, size.width(), size.height());
|
|
|
| VerifyScaling(result2, size);
|
| }
|
|
|