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; |