Index: ash/common/system/web_notification/web_notification_tray.cc |
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc |
index 9109408945a3b330263d8ba4c148d3f5f992b8e2..00ca5ae9d5b0c251e13a2912036a970ab0ae029e 100644 |
--- a/ash/common/system/web_notification/web_notification_tray.cc |
+++ b/ash/common/system/web_notification/web_notification_tray.cc |
@@ -160,7 +160,8 @@ class WebNotificationButton : public views::CustomButton { |
protected: |
// Overridden from views::ImageButton: |
gfx::Size GetPreferredSize() const override { |
- return gfx::Size(kShelfItemHeight, kShelfItemHeight); |
+ const int size = GetTrayConstant(TRAY_ITEM_HEIGHT_LEGACY); |
+ return gfx::Size(size, size); |
} |
int GetHeightForWidth(int width) const override { |