Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index a853a64b67969af5866da30c569168baaeed234f..9f09af255bd7a4dd5f8bd1b8677db12e7295a75f 100644 |
--- a/ash/shell/window_type_launcher.cc |
+++ b/ash/shell/window_type_launcher.cc |
@@ -6,6 +6,7 @@ |
#include "ash/root_window_controller.h" |
#include "ash/screensaver/screensaver_view.h" |
+#include "ash/shelf/shelf_widget.h" |
#include "ash/shell.h" |
#include "ash/shell/example_factory.h" |
#include "ash/shell/panel_window.h" |
@@ -341,8 +342,8 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender, |
base::TimeDelta::FromSeconds(5)); |
} else if (sender == show_web_notification_) { |
- ash::Shell::GetPrimaryRootWindowController()->status_area_widget()-> |
- web_notification_tray()->message_center()->AddNotification( |
+ ash::Shell::GetPrimaryRootWindowController()->shelf()->status_area_widget() |
+ ->web_notification_tray()->message_center()->AddNotification( |
message_center::NOTIFICATION_TYPE_SIMPLE, |
"id0", |
ASCIIToUTF16("Test Shell Web Notification"), |