Index: ash/system/tray/system_tray_unittest.cc |
diff --git a/ash/system/tray/system_tray_unittest.cc b/ash/system/tray/system_tray_unittest.cc |
index d145c49efd43ce46e09b8d1452f74c3e3e3957ac..c0bf5eaa9dcc0442bb93bfae9526ef5ce420534c 100644 |
--- a/ash/system/tray/system_tray_unittest.cc |
+++ b/ash/system/tray/system_tray_unittest.cc |
@@ -7,13 +7,13 @@ |
#include <vector> |
#include "ash/common/accessibility_delegate.h" |
+#include "ash/common/system/tray/system_tray_bubble.h" |
#include "ash/common/system/tray/system_tray_item.h" |
#include "ash/common/system/tray/tray_constants.h" |
#include "ash/common/system/tray/tray_popup_item_container.h" |
#include "ash/shelf/shelf.h" |
#include "ash/shell.h" |
#include "ash/system/status_area_widget.h" |
-#include "ash/system/tray/system_tray_bubble.h" |
#include "ash/system/web_notification/web_notification_tray.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/test/status_area_widget_test_helper.h" |
@@ -534,7 +534,8 @@ TEST_F(SystemTrayTest, TrayPopupItemContainerTouchFeedbackCancellation) { |
TEST_F(SystemTrayTest, SystemTrayHeightWithBubble) { |
SystemTray* tray = GetPrimarySystemTray(); |
WebNotificationTray* notification_tray = |
- tray->status_area_widget()->web_notification_tray(); |
+ StatusAreaWidgetTestHelper::GetStatusAreaWidget() |
+ ->web_notification_tray(); |
// Ensure the initial system tray height is zero. |
EXPECT_EQ(0, notification_tray->system_tray_height_for_test()); |