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