| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index 3ba94e056f03e73bbbbdf04d881108b2b48f97e7..97969a63fc08f2ea967ca80993b9f5a58327bfec 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -32,6 +32,7 @@
|
| #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"
|
| @@ -239,13 +240,13 @@ void HTMLVideoElement::webkitEnterFullscreen(ExceptionState& exceptionState)
|
| return;
|
| }
|
|
|
| - enterFullscreen();
|
| + Fullscreen::from(document()).requestFullscreen(*this, Fullscreen::PrefixedRequest);
|
| }
|
|
|
| void HTMLVideoElement::webkitExitFullscreen()
|
| {
|
| if (isFullscreen())
|
| - exitFullscreen();
|
| + Fullscreen::from(document()).exitFullscreen();
|
| }
|
|
|
| bool HTMLVideoElement::webkitSupportsFullscreen()
|
|
|