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

Unified Diff: ash/system/tray/tray_item_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/tray/tray_item_view.h ('k') | ash/system/tray/tray_popup_header_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_item_view.cc
diff --git a/ash/system/tray/tray_item_view.cc b/ash/system/tray/tray_item_view.cc
index 0920b86bfbc69904d20bb6c53c99050fede5ae18..b0dfb97a25c34c682541c8a7388b2c1f68843d40 100644
--- a/ash/system/tray/tray_item_view.cc
+++ b/ash/system/tray/tray_item_view.cc
@@ -83,7 +83,7 @@ int TrayItemView::GetAnimationDurationMS() {
return kTrayItemAnimationDurationMS;
}
-gfx::Size TrayItemView::GetPreferredSize() const {
+gfx::Size TrayItemView::CalculatePreferredSize() const {
DCHECK_EQ(1, child_count());
gfx::Size inner_size = views::View::GetPreferredSize();
if (image_view_)
« no previous file with comments | « ash/system/tray/tray_item_view.h ('k') | ash/system/tray/tray_popup_header_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698