Index: chrome/browser/notifications/fullscreen_notification_blocker.cc |
diff --git a/chrome/browser/notifications/fullscreen_notification_blocker.cc b/chrome/browser/notifications/fullscreen_notification_blocker.cc |
index e552e3eaa83bf505e4ee339fd043b74c54a50e30..21e7caaf9f7eef48d6f4ecc27c8990e20c900a14 100644 |
--- a/chrome/browser/notifications/fullscreen_notification_blocker.cc |
+++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc |
@@ -33,7 +33,7 @@ bool DoesFullscreenModeBlockNotifications() { |
// Block notifications if the shelf is hidden because of a fullscreen |
// window. |
const aura::Window* fullscreen_window = |
- controller->GetTopmostFullscreenWindow(); |
+ controller->GetWindowForFullscreenMode(); |
if (!fullscreen_window) |
return false; |
return ash::wm::GetWindowState(fullscreen_window)-> |