Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index da7853cfc18aaa7d90ea7b7a0f377d2759acf9dd..062dc701ce583690729613c8a4b628c751280618 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -2781,7 +2781,7 @@ void HTMLMediaElement::mediaPlayerRequestFullscreen() |
// user interaction or when it is technically required to play the video. |
UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); |
- enterFullscreen(); |
+ Fullscreen::from(document()).requestFullscreen(*this, Fullscreen::InternalVideoRequest); |
} |
void HTMLMediaElement::mediaPlayerRequestSeek(double time) |
@@ -3139,20 +3139,6 @@ bool HTMLMediaElement::isFullscreen() const |
return Fullscreen::isActiveFullScreenElement(*this); |
} |
-void HTMLMediaElement::enterFullscreen() |
-{ |
- WTF_LOG(Media, "HTMLMediaElement::enterFullscreen(%p)", this); |
- |
- Fullscreen::from(document()).requestFullscreen(*this, Fullscreen::PrefixedVideoRequest); |
-} |
- |
-void HTMLMediaElement::exitFullscreen() |
-{ |
- WTF_LOG(Media, "HTMLMediaElement::exitFullscreen(%p)", this); |
- |
- Fullscreen::from(document()).exitFullscreen(); |
-} |
- |
void HTMLMediaElement::didBecomeFullscreenElement() |
{ |
if (mediaControls()) |