summaryrefslogtreecommitdiffstats
path: root/chrome/browser/fullscreen_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/fullscreen_win.cc')
-rw-r--r--chrome/browser/fullscreen_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/fullscreen_win.cc b/chrome/browser/fullscreen_win.cc
index 0c32210..6a3ef97 100644
--- a/chrome/browser/fullscreen_win.cc
+++ b/chrome/browser/fullscreen_win.cc
@@ -105,7 +105,7 @@ bool IsFullScreenMode() {
#if defined(USE_ASH)
if (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH) {
ash::internal::RootWindowController* controller =
- ash::internal::RootWindowController::ForActiveRootWindow();
+ ash::internal::RootWindowController::ForTargetRootWindow();
return controller && controller->GetTopmostFullscreenWindow();
}
#endif