Index: ash/system/web_notification/web_notification_tray_unittest.cc |
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc |
index 45e0ac93704b23bac1878ca098a4283e9f0adfe3..4d9b5a7c624104c9dfc3bdc8edc60a077df35268 100644 |
--- a/ash/system/web_notification/web_notification_tray_unittest.cc |
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc |
@@ -7,6 +7,7 @@ |
#include <vector> |
#include "ash/root_window_controller.h" |
+#include "ash/shelf/shelf_widget.h" |
#include "ash/system/status_area_widget.h" |
#include "ash/system/tray/system_tray_item.h" |
#include "ash/test/ash_test_base.h" |
@@ -31,8 +32,8 @@ namespace ash { |
namespace { |
WebNotificationTray* GetWebNotificationTray() { |
- return Shell::GetPrimaryRootWindowController()->status_area_widget()-> |
- web_notification_tray(); |
+ return Shell::GetPrimaryRootWindowController()->shelf()-> |
+ status_area_widget()->web_notification_tray(); |
} |
message_center::MessageCenter* get_message_center() { |