| 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 a2a5f88ad450be47151a743dc59bccb0f1fa244f..0990d44f3e655845c58835c34561b8c2496a44f0 100644
|
| --- a/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp
|
| @@ -140,13 +140,13 @@ class MediaControlsOrientationLockDelegateTest : public ::testing::Test {
|
|
|
| Fullscreen::RequestFullscreen(Video());
|
| Fullscreen::From(GetDocument()).DidEnterFullscreen();
|
| - testing::RunPendingTasks();
|
| + GetDocument().ServiceScriptedAnimations(WTF::MonotonicallyIncreasingTime());
|
| }
|
|
|
| void SimulateExitFullscreen() {
|
| Fullscreen::ExitFullscreen(GetDocument());
|
| Fullscreen::From(GetDocument()).DidExitFullscreen();
|
| - testing::RunPendingTasks();
|
| + GetDocument().ServiceScriptedAnimations(WTF::MonotonicallyIncreasingTime());
|
| }
|
|
|
| void SimulateOrientationLock() {
|
|
|