Reviewed by Hyatt.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Jan 2007 01:43:28 +0000 (01:43 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Jan 2007 01:43:28 +0000 (01:43 +0000)
        Fix so that we only relayout frameset children on calls to layout.

        * page/FrameView.cpp:
        (WebCore::FrameView::layout):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/FrameView.cpp

index 8f8b72e..9451e10 100644 (file)
@@ -1,3 +1,12 @@
+2007-01-26  Dex Deacon  <occupant4@gmail.com>
+
+        Reviewed by Hyatt.
+
+        Fix so that we only relayout frameset children on calls to layout.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::layout):
+
 2007-01-26  Oliver Hunt  <oliver@apple.com>
 
         Build Fix
index f33bc2a..330a73d 100644 (file)
@@ -349,7 +349,7 @@ void FrameView::layout(bool allowSubtree)
             Node* body = static_cast<HTMLDocument*>(document)->body();
             if (body && body->renderer()) {
                 if (body->hasTagName(framesetTag)) {
-                    body->renderer()->setNeedsLayout(true);
+                    body->renderer()->setChildNeedsLayout(true);
                     vMode = ScrollbarAlwaysOff;
                     hMode = ScrollbarAlwaysOff;
                 } else if (body->hasTagName(bodyTag)) {