| Index: ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
|
| diff --git a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
|
| index 93cefc8ea48c00510279a0352e2751830aae49fa..09451cc6f47c4d13ffe90a8ba7f8c696af76d51c 100644
|
| --- a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
|
| +++ b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ash/system/tray/system_tray_notifier.h"
|
| #include "ash/system/tray/tray_constants.h"
|
| #include "ash/system/tray/tray_utils.h"
|
| +#include "ash/wm/common/shelf/wm_shelf_util.h"
|
| #include "grit/ash_resources.h"
|
| #include "grit/ash_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -61,7 +62,7 @@ void VirtualKeyboardTray::SetShelfAlignment(wm::ShelfAlignment alignment) {
|
| // Square up the padding if horizontally aligned. Avoid extra padding when
|
| // vertically aligned as the button would violate the width constraint on the
|
| // shelf.
|
| - if (IsHorizontalAlignment(alignment)) {
|
| + if (wm::IsHorizontalAlignment(alignment)) {
|
| gfx::Insets insets = button_->GetInsets();
|
| int additional_padding = std::max(0, top_padding - left_padding);
|
| left_padding += additional_padding;
|
|
|