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 af38448a970ca6f34277650a4c70a7fffcd7bd60..57bb5f920c264884d169be83593754362fe5e82c 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -3024,6 +3024,7 @@ void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub |
void Element::setContainsFullScreenElement(bool flag) |
{ |
setElementFlag(ContainsFullScreenElement, flag); |
+ document().styleEngine().ensureFullscreenUAStyle(); |
pseudoStateChanged(CSSSelector::PseudoFullScreenAncestor); |
} |