Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp

Issue 2340263003: Move Document.fullscreenElement to DocumentOrShadowRoot (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6eb33867afb63c88de6089a820becf0cd4eb3565..67a0fcb2cb4670117a0375458695008a58d903a2 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
@@ -33,8 +33,8 @@ bool DocumentFullscreen::fullscreenEnabled(Document& document) {
return Fullscreen::fullscreenEnabled(document);
}
-Element* DocumentFullscreen::fullscreenElement(Document& document) {
- return Fullscreen::fullscreenElementFrom(document);
+Element* DocumentFullscreen::webkitFullscreenElement(Document& document) {
+ return Fullscreen::fullscreenElementForBindingFrom(document);
}
void DocumentFullscreen::exitFullscreen(Document& document) {
@@ -42,7 +42,7 @@ void DocumentFullscreen::exitFullscreen(Document& document) {
}
Element* DocumentFullscreen::currentFullScreenElement(Document& document) {
- return Fullscreen::currentFullScreenElementFrom(document);
+ return Fullscreen::currentFullScreenElementForBindingFrom(document);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698