summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLFrameSetElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLFrameSetElement.cpp')
-rw-r--r--WebCore/html/HTMLFrameSetElement.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/html/HTMLFrameSetElement.cpp b/WebCore/html/HTMLFrameSetElement.cpp
index 5e23672..c49b0f8 100644
--- a/WebCore/html/HTMLFrameSetElement.cpp
+++ b/WebCore/html/HTMLFrameSetElement.cpp
@@ -189,6 +189,9 @@ void HTMLFrameSetElement::recalcStyle(StyleChange ch)
{
if (changed() && renderer()) {
renderer()->setNeedsLayout(true);
+#ifdef FLATTEN_FRAMESET
+ static_cast<RenderFrameSet*>(renderer())->setGridNeedsLayout();
+#endif
setChanged(NoStyleChange);
}
HTMLElement::recalcStyle(ch);