Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index fa9a7e495ef662d5d2e704d978faa526f4c9803e..df45d896f57049325e930870928451e145f2a53b 100644 |
--- a/ash/shell/window_type_launcher.cc |
+++ b/ash/shell/window_type_launcher.cc |
@@ -4,6 +4,7 @@ |
#include "ash/shell/window_type_launcher.h" |
+#include "ash/root_window_controller.h" |
#include "ash/screensaver/screensaver_view.h" |
#include "ash/shell.h" |
#include "ash/shell/example_factory.h" |
@@ -327,7 +328,7 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender, |
base::TimeDelta::FromSeconds(5)); |
} else if (sender == show_web_notification_) { |
- ash::Shell::GetInstance()->status_area_widget()-> |
+ ash::Shell::GetPrimaryRootWindowController()->status_area_widget()-> |
web_notification_tray()->AddNotification( |
"id0", |
ASCIIToUTF16("Test Shell Web Notification"), |