Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index ed14340174e9d5733e4e79dfb76c4fa9e021d141..e64a10fd0aa63fa70bd7c1a0daedc0f29a5d553a 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -250,13 +250,7 @@ bool HTMLVideoElement::usesOverlayFullscreenVideo() const |
if (RuntimeEnabledFeatures::forceOverlayFullscreenVideoEnabled()) |
return true; |
- // TODO(watk): Remove this and the REF check below when the chromium side change to not |
- // set OverlayFullscreenVideo on Android lands. http://crbug.com/511376 |
- if (HTMLMediaElement::isMediaStreamURL(sourceURL().string())) |
- return false; |
- |
- return RuntimeEnabledFeatures::overlayFullscreenVideoEnabled() |
- || (webMediaPlayer() && webMediaPlayer()->supportsOverlayFullscreenVideo()); |
+ return webMediaPlayer() && webMediaPlayer()->supportsOverlayFullscreenVideo(); |
} |
void HTMLVideoElement::didMoveToNewDocument(Document& oldDocument) |