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 22a77889711bbd3f49ea0ef803195fbc9943098f..dd689ea9aaa163d2fa462cfc4203146a5d773053 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -3030,7 +3030,7 @@ void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub |
void Element::setContainsFullScreenElement(bool flag) |
{ |
setElementFlag(ContainsFullScreenElement, flag); |
- setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::FullScreen)); |
+ pseudoStateChanged(CSSSelector::PseudoFullScreenAncestor); |
} |
static Element* parentCrossingFrameBoundaries(Element* element) |