| 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 e0ccfd71cbf7a66354d7ac2b426b81fe3b84892c..6a80ef90e209c41bb07198e5001ca80322e2d81b 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| @@ -341,6 +341,10 @@ TEST_F(MediaControlsOrientationLockDelegateTest,
|
| simulateEnterFullscreen();
|
| // State set to PendingMetadata.
|
|
|
| + // Set up the WebMediaPlayer instance.
|
| + video().setSrc("http://example.com");
|
| + testing::runPendingTasks();
|
| +
|
| simulateVideoNetworkState(HTMLMediaElement::kNetworkIdle);
|
| simulateVideoReadyState(HTMLMediaElement::kHaveMetadata);
|
| testing::runPendingTasks();
|
| @@ -356,6 +360,10 @@ TEST_F(MediaControlsOrientationLockDelegateTest, ReceivedMetadataLater) {
|
| // State set to PendingMetadata.
|
| simulateExitFullscreen();
|
|
|
| + // Set up the WebMediaPlayer instance.
|
| + video().setSrc("http://example.com");
|
| + testing::runPendingTasks();
|
| +
|
| simulateVideoNetworkState(HTMLMediaElement::kNetworkIdle);
|
| simulateVideoReadyState(HTMLMediaElement::kHaveMetadata);
|
| testing::runPendingTasks();
|
|
|