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 5d56f12c3896ff677a9a7799e89ca7ecbbcec056..43caddff0a05db028b5d934e9fbc1b9397a7af47 100644 |
--- a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc |
+++ b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc |
@@ -28,8 +28,7 @@ |
namespace ash { |
VirtualKeyboardTray::VirtualKeyboardTray(StatusAreaWidget* status_area_widget) |
- : TrayBackgroundView(status_area_widget), |
- button_(NULL) { |
+ : TrayBackgroundView(status_area_widget->wm_shelf()), button_(nullptr) { |
button_ = new views::ImageButton(this); |
if (MaterialDesignController::IsShelfMaterial()) { |
gfx::ImageSkia image_md = |