| Index: ash/system/chromeos/screen_security/screen_tray_item.cc
|
| diff --git a/ash/system/chromeos/screen_security/screen_tray_item.cc b/ash/system/chromeos/screen_security/screen_tray_item.cc
|
| index c1efaf136722cc87061b26fa696e151e2924ae32..6322824b227bf7c1caad854c2b6d27882dad8ad1 100644
|
| --- a/ash/system/chromeos/screen_security/screen_tray_item.cc
|
| +++ b/ash/system/chromeos/screen_security/screen_tray_item.cc
|
| @@ -7,6 +7,7 @@
|
| #include "ash/shelf/shelf_util.h"
|
| #include "ash/system/tray/fixed_sized_image_view.h"
|
| #include "ash/system/tray/tray_constants.h"
|
| +#include "ash/wm/common/shelf/wm_shelf_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/message_center/message_center.h"
|
| #include "ui/views/controls/label.h"
|
| @@ -189,7 +190,7 @@ void ScreenTrayItem::UpdateAfterShelfAlignmentChange(
|
| return;
|
|
|
| // 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::kHorizontal
|
| : views::BoxLayout::kVertical;
|
| tray_view_->SetLayoutManager(new views::BoxLayout(layout, 0, 0, 0));
|
|
|