Index: third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp |
index 50057650522e34d7b1ca8636f5e95c55dc381f2c..0629fe218cba05f5fbf15bd4cfbe8014f7ef130d 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp |
@@ -25,6 +25,7 @@ |
#include "core/dom/DocumentFullscreen.h" |
+#include "core/dom/DocumentOrShadowRoot.h" |
#include "core/dom/Fullscreen.h" |
namespace blink { |
@@ -34,19 +35,14 @@ bool DocumentFullscreen::fullscreenEnabled(Document& document) |
return Fullscreen::fullscreenEnabled(document); |
} |
-Element* DocumentFullscreen::fullscreenElement(Document& document) |
-{ |
- return Fullscreen::fullscreenElementFrom(document); |
-} |
- |
void DocumentFullscreen::exitFullscreen(Document& document) |
{ |
Fullscreen::exitFullscreen(document); |
} |
-Element* DocumentFullscreen::currentFullScreenElement(Document& document) |
+bool DocumentFullscreen::webkitIsFullScreen(Document& document) |
{ |
- return Fullscreen::currentFullScreenElementFrom(document); |
+ return DocumentOrShadowRoot::currentFullScreenElement(document); |
} |
} // namespace blink |