summaryrefslogtreecommitdiffstats
path: root/chrome/browser/fullscreen_chromeos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/fullscreen_chromeos.cc')
-rw-r--r--chrome/browser/fullscreen_chromeos.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/fullscreen_chromeos.cc b/chrome/browser/fullscreen_chromeos.cc
index 448fdc1..acdeb04 100644
--- a/chrome/browser/fullscreen_chromeos.cc
+++ b/chrome/browser/fullscreen_chromeos.cc
@@ -7,7 +7,9 @@
#include "ash/root_window_controller.h"
bool IsFullScreenMode() {
+ // TODO(oshima): Fullscreen is per display state. Investigate
+ // and fix if necessary.
ash::internal::RootWindowController* controller =
- ash::internal::RootWindowController::ForActiveRootWindow();
+ ash::internal::RootWindowController::ForTargetRootWindow();
return controller && controller->GetTopmostFullscreenWindow();
}