Index: ash/system/overview/overview_button_tray.cc |
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc |
index 4e5f3a3f25578487b6b54e033ea117307a0a2a85..386efce9d60b2738579578c2fc8ca21e43feb634 100644 |
--- a/ash/system/overview/overview_button_tray.cc |
+++ b/ash/system/overview/overview_button_tray.cc |
@@ -15,6 +15,7 @@ |
#include "ash/common/wm_shell.h" |
#include "ash/shelf/shelf_util.h" |
#include "ash/shell.h" |
+#include "ash/system/status_area_widget.h" |
#include "ash/wm/maximize_mode/maximize_mode_controller.h" |
#include "grit/ash_resources.h" |
#include "grit/ash_strings.h" |
@@ -39,7 +40,7 @@ const int kVerticalShelfVerticalPadding = 5; |
namespace ash { |
OverviewButtonTray::OverviewButtonTray(StatusAreaWidget* status_area_widget) |
- : TrayBackgroundView(status_area_widget), icon_(NULL) { |
+ : TrayBackgroundView(status_area_widget->wm_shelf()), icon_(nullptr) { |
SetContentsBackground(); |
icon_ = new views::ImageView(); |