| Index: ash/system/user/tray_user.cc
|
| diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
|
| index a92bad56b6c8fc6c0658100cef8f02c617aed1d1..8fe7af40d5cafdc542f6578c35559883ff92b077 100644
|
| --- a/ash/system/user/tray_user.cc
|
| +++ b/ash/system/user/tray_user.cc
|
| @@ -8,6 +8,7 @@
|
| #include "ash/root_window_controller.h"
|
| #include "ash/session/session_state_delegate.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| +#include "ash/shelf/shelf_util.h"
|
| #include "ash/shell_delegate.h"
|
| #include "ash/system/tray/system_tray.h"
|
| #include "ash/system/tray/system_tray_delegate.h"
|
| @@ -191,7 +192,7 @@ void TrayUser::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
|
| // Inactive users won't have a layout.
|
| if (!layout_view_)
|
| return;
|
| - if (alignment == SHELF_ALIGNMENT_BOTTOM) {
|
| + if (IsHorizontalAlignment(alignment)) {
|
| if (avatar_) {
|
| avatar_->SetBorder(views::Border::NullBorder());
|
| avatar_->SetCornerRadii(
|
|
|