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

Unified Diff: ash/system/web_notification/web_notification_tray.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/user_card_view.cc ('k') | ash/test/child_modal_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index 643341737a2398126c36e5f96fd84f036f082351..ec4a84d448c5aee3795069af313f621b7d827e6b 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -155,7 +155,7 @@ class WebNotificationItem : public views::View, public gfx::AnimationDelegate {
protected:
// Overridden from views::View:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
if (!animation_.get() || !animation_->is_animating())
return kTrayItemOuterSize;
« no previous file with comments | « ash/system/user/user_card_view.cc ('k') | ash/test/child_modal_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698