diff options
Diffstat (limited to 'chrome/browser/notifications/fullscreen_notification_blocker.cc')
-rw-r--r-- | chrome/browser/notifications/fullscreen_notification_blocker.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/notifications/fullscreen_notification_blocker.cc b/chrome/browser/notifications/fullscreen_notification_blocker.cc index fd20e5e..8122b1f 100644 --- a/chrome/browser/notifications/fullscreen_notification_blocker.cc +++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc @@ -24,8 +24,7 @@ bool DoesFullscreenModeBlockNotifications() { #if defined(USE_ASH) if (ash::Shell::HasInstance()) { ash::internal::RootWindowController* controller = - ash::internal::RootWindowController::ForWindow( - ash::Shell::GetActiveRootWindow()); + ash::internal::RootWindowController::ForTargetRootWindow(); const aura::Window* fullscreen_window = controller->GetTopmostFullscreenWindow(); |