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

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

Issue 2667913002: Revert of Sync requestFullscreen() and exitFullscreen() algorithms with the spec (patchset #3 id:40… (Closed)
Patch Set: Created 3 years, 11 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/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 75e7dc2bd9c6858f091c7370b8d62719833f01d8..ade9265137dfa61864333a198fbf3a2f3f42d466 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1630,7 +1630,7 @@ void Element::removedFrom(ContainerNode* insertionPoint) {
DCHECK(!hasRareData() || !elementRareData()->hasPseudoElements());
- if (Fullscreen::isFullscreenElement(*this)) {
+ if (Fullscreen::isCurrentFullScreenElement(*this)) {
setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(false);
if (insertionPoint->isElementNode()) {
toElement(insertionPoint)->setContainsFullScreenElement(false);
@@ -4043,7 +4043,7 @@ bool Element::supportsStyleSharing() const {
return false;
if (hasAnimations())
return false;
- if (Fullscreen::isFullscreenElement(*this))
+ if (Fullscreen::isCurrentFullScreenElement(*this))
return false;
return true;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentFullscreen.idl ('k') | third_party/WebKit/Source/core/dom/Fullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698