Index: third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h b/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h |
index 8a31e5ef3be2349075da2ff54049acf8ae344875..9ff6d74759d62f1d008de6cfd8a350dde367411a 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h |
@@ -6,6 +6,7 @@ |
#define DocumentOrShadowRoot_h |
#include "core/dom/Document.h" |
+#include "core/dom/Fullscreen.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/frame/UseCounter.h" |
@@ -73,6 +74,10 @@ class DocumentOrShadowRoot { |
return nullptr; |
return shadowRoot.adjustedElement(*target); |
} |
+ |
+ static Element* fullscreenElement(TreeScope& scope) { |
+ return Fullscreen::fullscreenElementForBindingFrom(scope); |
+ } |
}; |
} // namespace blink |