| Index: Source/web/FullscreenController.cpp
|
| diff --git a/Source/web/FullscreenController.cpp b/Source/web/FullscreenController.cpp
|
| index 482026645a5ce5d284a138d835d16dc59b0fd503..ec23a1923340a34ff969ccae692e5169eb9858ff 100644
|
| --- a/Source/web/FullscreenController.cpp
|
| +++ b/Source/web/FullscreenController.cpp
|
| @@ -85,11 +85,9 @@ void FullscreenController::didEnterFullScreen()
|
| Fullscreen::from(document).didEnterFullScreenForElement(element.get());
|
| ASSERT(Fullscreen::currentFullScreenElementFrom(document) == element);
|
|
|
| - if (RuntimeEnabledFeatures::overlayFullscreenVideoEnabled()) {
|
| - if (isHTMLVideoElement(element)) {
|
| - HTMLVideoElement* videoElement = toHTMLVideoElement(element);
|
| - if (HTMLMediaElement::isMediaStreamURL(videoElement->sourceURL().string()))
|
| - return;
|
| + if (isHTMLVideoElement(element)) {
|
| + HTMLVideoElement* videoElement = toHTMLVideoElement(element);
|
| + if (videoElement->supportsOverlayFullscreenVideo()) {
|
| if (videoElement->webMediaPlayer()
|
| // FIXME: There is no embedder-side handling in layout test mode.
|
| && !LayoutTestSupport::isRunningLayoutTest()) {
|
|
|