Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: Source/core/html/HTMLVideoElement.cpp

Issue 1311763004: Complete replacement of REF OverlayFullscreenVideo (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fullscreen/video-specified-size.html ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « LayoutTests/fullscreen/video-specified-size.html ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698