Skip to content
  • hyatt's avatar
    Fix for livepage.apple.com slowness. Ensure that · 354b1a42
    hyatt authored
    	clipped regions only paint their own rectangles
    	when they or any children inside of them need to
    	be reflowed.
    
    	This fix is intended as an interim band-aid for a much
    	larger problem (that all of layout doesn't just auto-invalidate
    	the regions it needs to, and that DHTML doesn't have
    	specialized behavior to avoid async repainting or even
    	relayout when only a repaint is required).
    
            * khtml/khtmlview.cpp:
            (KHTMLView::timerEvent):
            * khtml/rendering/render_container.cpp:
            (RenderContainer::removeChildNode):
            (RenderContainer::appendChildNode):
            (RenderContainer::insertChildNode):
            (RenderContainer::layout):
            * khtml/rendering/render_object.cpp:
            (RenderObject::setLayouted):
            (RenderObject::scheduleRelayout):
            * khtml/rendering/render_root.cpp:
            (RenderRoot::repaintRectangle):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    354b1a42