| Index: third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| index 11b878bfb59e0588b298ff473dbd5005b492a8af..e0ccfd71cbf7a66354d7ac2b426b81fe3b84892c 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| @@ -170,13 +170,13 @@ class MediaControlsOrientationLockDelegateTest : public ::testing::Test {
|
|
|
| Fullscreen::requestFullscreen(video());
|
| Fullscreen::from(document()).didEnterFullscreen();
|
| - testing::runPendingTasks();
|
| + document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
|
| }
|
|
|
| void simulateExitFullscreen() {
|
| Fullscreen::exitFullscreen(document());
|
| Fullscreen::from(document()).didExitFullscreen();
|
| - testing::runPendingTasks();
|
| + document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
|
| }
|
|
|
| void simulateOrientationLock() {
|
|
|