Index: Source/core/dom/Fullscreen.cpp |
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp |
index 07161b2523d4083a4500da08d7fa22bdc7b64615..d31d0f8b1f63a8ded6c12e2c2e57f0461ae1eec5 100644 |
--- a/Source/core/dom/Fullscreen.cpp |
+++ b/Source/core/dom/Fullscreen.cpp |
@@ -440,9 +440,7 @@ void Fullscreen::didEnterFullScreenForElement(Element* element) |
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true); |
- // FIXME: This should not call updateStyleIfNeeded. |
document()->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::FullScreen)); |
- document()->updateRenderTreeIfNeeded(); |
m_fullScreenElement->didBecomeFullscreenElement(); |