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 { |