Index: ash/system/tray/system_tray_bubble.cc |
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc |
index 00599735637c312eedc0d767b64206962f76e430..43ad86530380392d8d9855c7f6e5114023b96a9a 100644 |
--- a/ash/system/tray/system_tray_bubble.cc |
+++ b/ash/system/tray/system_tray_bubble.cc |
@@ -16,7 +16,7 @@ |
#include "ui/compositor/layer_animation_observer.h" |
#include "ui/compositor/scoped_layer_animation_settings.h" |
#include "ui/gfx/canvas.h" |
-#include "ui/views/layout/box_layout.h" |
+#include "ui/views/layout/fill_layout.h" |
#include "ui/views/view.h" |
#include "ui/views/widget/widget.h" |
@@ -43,10 +43,7 @@ class TrayPopupItemContainer : public views::View { |
: hover_(false), |
change_background_(change_background) { |
set_notify_enter_exit_on_child(true); |
- views::BoxLayout* layout = new views::BoxLayout( |
- views::BoxLayout::kVertical, 0, 0, 0); |
- layout->set_spread_blank_space(true); |
- SetLayoutManager(layout); |
+ SetLayoutManager(new views::FillLayout); |
SetPaintToLayer(view->layer() != NULL); |
if (view->layer()) |
SetFillsBoundsOpaquely(view->layer()->fills_bounds_opaquely()); |