Index: ash/system/user/tray_user.cc |
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc |
index 75c6bfe82782d88e7645c54e70bcd1a430c2afb9..f431980d03a8b6b23ff2342fdd4329d7aff8e58a 100644 |
--- a/ash/system/user/tray_user.cc |
+++ b/ash/system/user/tray_user.cc |
@@ -74,12 +74,6 @@ class RoundedImageView : public views::View { |
image_size_.height() + GetInsets().height()); |
} |
- virtual void VisibilityChanged(views::View* starting_from, |
- bool is_visible) OVERRIDE { |
- if (starting_from == this && GetWidget()) |
- GetWidget()->SetSize(GetWidget()->GetContentsView()->GetPreferredSize()); |
- } |
- |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { |
View::OnPaint(canvas); |
gfx::Rect image_bounds(GetPreferredSize()); |