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

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

Issue 2340263003: Move Document.fullscreenElement to DocumentOrShadowRoot (Closed)
Patch Set: Style nit 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..87d2577fafc0288d59223f55ff09026c73729654 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
@@ -34,7 +34,7 @@ bool DocumentFullscreen::fullscreenEnabled(Document& document) {
}
Element* DocumentFullscreen::fullscreenElement(Document& document) {
- return Fullscreen::fullscreenElementFrom(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