Index: ash/system/status_area_widget_delegate.cc |
diff --git a/ash/system/status_area_widget_delegate.cc b/ash/system/status_area_widget_delegate.cc |
index ce8852de7fb5ca7407b42ea3f2cbab801117e124..bce3ef583e30e2880329c6e06890e5fd6a8f272c 100644 |
--- a/ash/system/status_area_widget_delegate.cc |
+++ b/ash/system/status_area_widget_delegate.cc |
@@ -7,6 +7,7 @@ |
#include "ash/ash_export.h" |
#include "ash/ash_switches.h" |
#include "ash/focus_cycler.h" |
+#include "ash/shelf/shelf_util.h" |
#include "ash/shell.h" |
#include "ash/shell_window_ids.h" |
#include "ash/system/tray/tray_constants.h" |
@@ -112,7 +113,7 @@ void StatusAreaWidgetDelegate::UpdateLayout() { |
SetLayoutManager(layout); |
views::ColumnSet* columns = layout->AddColumnSet(0); |
- if (alignment_ == SHELF_ALIGNMENT_BOTTOM) { |
+ if (IsHorizontalAlignment(alignment_)) { |
bool is_first_visible_child = true; |
for (int c = 0; c < child_count(); ++c) { |
views::View* child = child_at(c); |