Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3572)

Unified Diff: chrome/browser/profiles/profile_avatar_icon_util_unittest.cc

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest broken by rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « chrome/browser/profiles/profile_avatar_icon_util.cc ('k') | chrome/browser/profiles/profile_list_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698