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

Unified Diff: ui/app_list/views/top_icon_animation_view.cc

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 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
Index: ui/app_list/views/top_icon_animation_view.cc
diff --git a/ui/app_list/views/top_icon_animation_view.cc b/ui/app_list/views/top_icon_animation_view.cc
index 8ec69214f7841cf3413e58dca479337e6a51faee..f64a3720ee8ab4f5d05c60ee60e8a8242f915976 100644
--- a/ui/app_list/views/top_icon_animation_view.cc
+++ b/ui/app_list/views/top_icon_animation_view.cc
@@ -67,7 +67,7 @@ void TopIconAnimationView::TransformView() {
layer()->SetTransform(open_folder_ ? gfx::Transform() : transform);
}
-gfx::Size TopIconAnimationView::GetPreferredSize() {
+gfx::Size TopIconAnimationView::GetPreferredSize() const {
return icon_size_;
}

Powered by Google App Engine
This is Rietveld 408576698