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

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

Issue 2199783002: Clarify fullscreenElement vs. currentFullScreenElement distinction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 ef260adf32dc31fb8e8c0d0dfbfbde675c104369..6c4799678fb8945addc700ecdfa79c43e970bdad 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1469,7 +1469,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
DCHECK(!hasRareData() || !elementRareData()->hasPseudoElements());
- if (Fullscreen::isActiveFullScreenElement(*this)) {
+ if (Fullscreen::isCurrentFullScreenElement(*this)) {
setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(false);
if (insertionPoint->isElementNode()) {
toElement(insertionPoint)->setContainsFullScreenElement(false);
@@ -3697,7 +3697,7 @@ bool Element::supportsStyleSharing() const
return false;
if (hasAnimations())
return false;
- if (Fullscreen::isActiveFullScreenElement(*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