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 d58a766cf660636d75d00b4b036fc24b5cdcaabe..76f4f86ce67437d2eb5495dd860eca1c412c24a3 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1593,7 +1593,7 @@ void Element::removedFrom(ContainerNode* insertionPoint) { |
DCHECK(!hasRareData() || !elementRareData()->hasPseudoElements()); |
- if (Fullscreen::isCurrentFullScreenElement(*this)) { |
+ if (Fullscreen::isFullscreenElement(*this)) { |
setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(false); |
if (insertionPoint->isElementNode()) { |
toElement(insertionPoint)->setContainsFullScreenElement(false); |
@@ -4008,7 +4008,7 @@ bool Element::supportsStyleSharing() const { |
return false; |
if (hasAnimations()) |
return false; |
- if (Fullscreen::isCurrentFullScreenElement(*this)) |
+ if (Fullscreen::isFullscreenElement(*this)) |
return false; |
return true; |
} |