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

Unified Diff: ash/system/user/rounded_image_view.cc

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)
Patch Set: improvements Created 3 years, 7 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
« no previous file with comments | « ash/system/user/rounded_image_view.h ('k') | ash/system/user/user_card_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/rounded_image_view.cc
diff --git a/ash/system/user/rounded_image_view.cc b/ash/system/user/rounded_image_view.cc
index 385bfac15e781a91e12a07e2893c03f364c94f13..378b6ae1be5476efe3ea7d47502b9a3c30e6ff69 100644
--- a/ash/system/user/rounded_image_view.cc
+++ b/ash/system/user/rounded_image_view.cc
@@ -43,7 +43,7 @@ void RoundedImageView::SetCornerRadii(int top_left,
corner_radius_[3] = bottom_left;
}
-gfx::Size RoundedImageView::GetPreferredSize() const {
+gfx::Size RoundedImageView::CalculatePreferredSize() const {
return gfx::Size(image_size_.width() + GetInsets().width(),
image_size_.height() + GetInsets().height());
}
« no previous file with comments | « ash/system/user/rounded_image_view.h ('k') | ash/system/user/user_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698