Index: chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc |
diff --git a/chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc b/chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc |
index e016bb5a818f0a63e96c1c97bf0ef2f03eeb68a4..ca93ce775c5e50dfe437cd2918015726450d009d 100644 |
--- a/chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc |
+++ b/chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc |
@@ -4,7 +4,6 @@ |
#include "chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h" |
-#include "ash/shell.h" |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
@@ -77,7 +76,7 @@ void KioskModeIdleAppNameNotification::Setup() { |
void KioskModeIdleAppNameNotification::OnUserActivity(const ui::Event* event) { |
if (show_notification_upon_next_user_activity_) { |
- gfx::Display display = ash::Shell::GetScreen()->GetPrimaryDisplay(); |
+ gfx::Display display = gfx::Screen::GetScreen()->GetPrimaryDisplay(); |
// Display the notification only on internal display. |
if (display.IsInternal()) { |
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |