Index: trunk/Source/core/dom/Fullscreen.cpp |
=================================================================== |
--- trunk/Source/core/dom/Fullscreen.cpp (revision 188465) |
+++ trunk/Source/core/dom/Fullscreen.cpp (working copy) |
@@ -440,7 +440,9 @@ |
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true); |
+ // FIXME: This should not call updateStyleIfNeeded. |
document()->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::FullScreen)); |
+ document()->updateRenderTreeIfNeeded(); |
m_fullScreenElement->didBecomeFullscreenElement(); |