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

Unified Diff: ash/content/screen_orientation_delegate_chromeos.cc

Issue 2802403002: Resolve current orientation after applying the previous orientation request. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | ash/display/display_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a9462571f39ad8d3e178ab60fade854fd7fd97a3 100644
--- a/ash/content/screen_orientation_delegate_chromeos.cc
+++ b/ash/content/screen_orientation_delegate_chromeos.cc
@@ -29,8 +29,9 @@ void ScreenOrientationDelegateChromeos::Lock(
blink::WebScreenOrientationLockType lock_orientation) {
Shell::GetInstance()
->screen_orientation_controller()
- ->LockOrientationForWindow(WmWindow::Get(web_contents->GetNativeView()),
- lock_orientation);
+ ->LockOrientationForWindow(
+ WmWindow::Get(web_contents->GetNativeView()), lock_orientation,
+ ScreenOrientationController::LockCompletionBehavior::None);
}
bool ScreenOrientationDelegateChromeos::ScreenOrientationProviderSupported() {
« no previous file with comments | « no previous file | ash/display/display_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698