Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2499)

Unified Diff: ash/display/screen_orientation_controller_chromeos.cc

Issue 2113053003: Moves Shell::maximize_mode_controller() to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/display/screen_orientation_controller_chromeos.cc
diff --git a/ash/display/screen_orientation_controller_chromeos.cc b/ash/display/screen_orientation_controller_chromeos.cc
index ab61ea36c214e81c4c2fb4a8dbb727162724ca6a..5c11a35fd2b568fdae6cf75c3265344281b0456c 100644
--- a/ash/display/screen_orientation_controller_chromeos.cc
+++ b/ash/display/screen_orientation_controller_chromeos.cc
@@ -113,7 +113,7 @@ void ScreenOrientationController::UnlockOrientationForWindow(
}
bool ScreenOrientationController::ScreenOrientationProviderSupported() const {
- return Shell::GetInstance()
+ return WmShell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled() &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(

Powered by Google App Engine
This is Rietveld 408576698