| Index: third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp
|
| index c727e7962728870d41e8c6ac3a269926b5cc1fd5..1b67035923ccd9a42ee5d63438f153d5ef3104ed 100644
|
| --- a/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp
|
| @@ -563,7 +563,7 @@ TEST_F(MediaControlsRotateToFullscreenDelegateTest,
|
| Fullscreen::RequestFullscreen(*GetDocument().body());
|
| }
|
| testing::RunPendingTasks();
|
| - EXPECT_TRUE(Fullscreen::IsCurrentFullScreenElement(*GetDocument().body()));
|
| + EXPECT_TRUE(Fullscreen::IsFullscreenElement(*GetDocument().body()));
|
| EXPECT_FALSE(GetVideo().IsFullscreen());
|
|
|
| // Play video.
|
| @@ -576,7 +576,7 @@ TEST_F(MediaControlsRotateToFullscreenDelegateTest,
|
| RotateTo(kWebScreenOrientationLandscapePrimary);
|
|
|
| // Should not enter fullscreen on video, since document is already fullscreen.
|
| - EXPECT_TRUE(Fullscreen::IsCurrentFullScreenElement(*GetDocument().body()));
|
| + EXPECT_TRUE(Fullscreen::IsFullscreenElement(*GetDocument().body()));
|
| EXPECT_FALSE(GetVideo().IsFullscreen());
|
| }
|
|
|
| @@ -654,7 +654,7 @@ TEST_F(MediaControlsRotateToFullscreenDelegateTest,
|
| Fullscreen::RequestFullscreen(*GetDocument().body());
|
| }
|
| testing::RunPendingTasks();
|
| - EXPECT_TRUE(Fullscreen::IsCurrentFullScreenElement(*GetDocument().body()));
|
| + EXPECT_TRUE(Fullscreen::IsFullscreenElement(*GetDocument().body()));
|
| EXPECT_FALSE(GetVideo().IsFullscreen());
|
|
|
| // Leave video paused (playing is not a requirement to exit fullscreen).
|
| @@ -665,7 +665,7 @@ TEST_F(MediaControlsRotateToFullscreenDelegateTest,
|
| RotateTo(kWebScreenOrientationPortraitPrimary);
|
|
|
| // Should not exit fullscreen, since video was not the fullscreen element.
|
| - EXPECT_TRUE(Fullscreen::IsCurrentFullScreenElement(*GetDocument().body()));
|
| + EXPECT_TRUE(Fullscreen::IsFullscreenElement(*GetDocument().body()));
|
| EXPECT_FALSE(GetVideo().IsFullscreen());
|
| }
|
|
|
|
|