Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index ee23553a4c9e500c63f12224ca042cba5c80a069..fdcffcb5153736e64b192e09c13331cfc1995cf0 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -32,7 +32,6 @@ |
#include "core/dom/Attribute.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
-#include "core/dom/Fullscreen.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/frame/Settings.h" |
#include "core/html/HTMLImageLoader.h" |
@@ -244,13 +243,13 @@ void HTMLVideoElement::webkitEnterFullscreen(ExceptionState& exceptionState) |
return; |
} |
- Fullscreen::from(document()).requestFullscreen(*this, Fullscreen::PrefixedRequest); |
+ enterFullscreen(); |
} |
void HTMLVideoElement::webkitExitFullscreen() |
{ |
if (isFullscreen()) |
- Fullscreen::from(document()).exitFullscreen(); |
+ exitFullscreen(); |
} |
bool HTMLVideoElement::webkitSupportsFullscreen() |