Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index 4a9b6777af00a3f32f7cb9e181f2c1536b06135c..1980bf2edc7e1c3abee53fb2e2cf17894e487a20 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" |
@@ -358,8 +359,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"), |