Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index 5909e33d29cc379d66ca3ff2f9b7b8c2ff216b0d..82b8a9c2d47e86abf015e226cd12e2da476b2e8d 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -130,15 +130,7 @@ bool HTMLVideoElement::supportsFullscreen() const |
if (!player() || !player()->supportsFullscreen()) |
return false; |
- // If the full screen API is enabled and is supported for the current element |
- // do not require that the player has a video track to enter full screen. |
- if (page->chrome()->client()->supportsFullScreenForElement(this, false)) |
- return true; |
- |
- if (!player()->hasVideo()) |
- return false; |
- |
- return page->chrome()->client()->supportsFullscreenForNode(this); |
+ return true; |
} |
unsigned HTMLVideoElement::videoWidth() const |