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

Unified Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp

Issue 2890423003: [Media controls] Integrate rotate-to-fullscreen with orientation lock (Closed)
Patch Set: #undef atan2,fmod Created 3 years, 7 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: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
index 832dd94dd1d30b08411ba7f8671c624a3a5b9095..d91eea1f3829e940073b41036a2143f59a4674a1 100644
--- a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
+++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
@@ -188,8 +188,8 @@ class MediaControlsOrientationLockDelegateTest : public ::testing::Test {
}
bool DelegateWillUnlockFullscreen() const {
- return MediaControls()
- ->orientation_lock_delegate_->should_unlock_orientation_;
+ return MediaControls()->orientation_lock_delegate_->locked_orientation_ !=
+ kWebScreenOrientationLockDefault /* unlocked */;
}
WebScreenOrientationLockType ComputeOrientationLock() const {

Powered by Google App Engine
This is Rietveld 408576698