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

Unified Diff: ash/content/screen_orientation_delegate_chromeos.cc

Issue 2792973002: Resolve current orientation after applying the previous orientation request. (Closed)
Patch Set: LockToCurrent Created 3 years, 8 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/content/screen_orientation_delegate_chromeos.cc
diff --git a/ash/content/screen_orientation_delegate_chromeos.cc b/ash/content/screen_orientation_delegate_chromeos.cc
index 76243b2e4a2836b786e1dc86d86627125c5751b6..e434519b8ba1b3d910bbb134c826185788d34e9e 100644
--- a/ash/content/screen_orientation_delegate_chromeos.cc
+++ b/ash/content/screen_orientation_delegate_chromeos.cc
@@ -30,7 +30,7 @@ void ScreenOrientationDelegateChromeos::Lock(
Shell::GetInstance()
->screen_orientation_controller()
->LockOrientationForWindow(WmWindow::Get(web_contents->GetNativeView()),
- lock_orientation);
+ lock_orientation, false /* lock_to_current */);
}
bool ScreenOrientationDelegateChromeos::ScreenOrientationProviderSupported() {
« no previous file with comments | « no previous file | ash/display/display_manager_unittest.cc » ('j') | ash/display/screen_orientation_controller_chromeos.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698