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

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

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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 b5a38bd560ebf0cc7647128dde0b89b92598c1c4..9c42a2c1e28d2534844a339e0b6a2e143de5b6ff 100644
--- a/ash/system/user/rounded_image_view.cc
+++ b/ash/system/user/rounded_image_view.cc
@@ -45,7 +45,7 @@ void RoundedImageView::SetCornerRadii(int top_left,
corner_radius_[3] = bottom_left;
}
-gfx::Size RoundedImageView::GetPreferredSize() {
+gfx::Size RoundedImageView::GetPreferredSize() 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