| Index: ash/system/cast/tray_cast.cc
|
| diff --git a/ash/system/cast/tray_cast.cc b/ash/system/cast/tray_cast.cc
|
| index 102c864c245730fc8d6dd76a37ea65c778e9b1b5..9a7bcce1649c54e272624486e7b7818205bfb6a4 100644
|
| --- a/ash/system/cast/tray_cast.cc
|
| +++ b/ash/system/cast/tray_cast.cc
|
| @@ -21,6 +21,7 @@
|
| #include "ash/system/tray/tray_item_more.h"
|
| #include "ash/system/tray/tray_item_view.h"
|
| #include "ash/system/tray/tray_popup_label_button.h"
|
| +#include "ash/wm/common/shelf/wm_shelf_util.h"
|
| #include "base/bind.h"
|
| #include "grit/ash_resources.h"
|
| #include "grit/ash_strings.h"
|
| @@ -358,7 +359,7 @@ CastTrayView::~CastTrayView() {
|
|
|
| void CastTrayView::UpdateAlignment(wm::ShelfAlignment alignment) {
|
| // Center the item dependent on the orientation of the shelf.
|
| - views::BoxLayout::Orientation layout = IsHorizontalAlignment(alignment)
|
| + views::BoxLayout::Orientation layout = wm::IsHorizontalAlignment(alignment)
|
| ? views::BoxLayout::kVertical
|
| : views::BoxLayout::kHorizontal;
|
| SetLayoutManager(new views::BoxLayout(layout, 0, 0, 0));
|
|
|