Skip to content
  • hyatt's avatar
    Remove the clip hack from setLayout and make it · f3f98f68
    hyatt authored
    	asynchronous instead.  This fixes the crasher
    	on autosite.com, which had a sync layout occur
    	while in the middle of making a block box's
    	children get wrapped in anonymous boxes.  It
    	was only half done when the layout got
    	triggered, which is what caused the assert to fire.
    
    	The bug # is 3129534.
    
            Reviewed by rjw
    
            * khtml/khtmlview.cpp:
            (KHTMLView::KHTMLView):
            (KHTMLView::timerEvent):
            (KHTMLView::scheduleRelayout):
            * khtml/khtmlview.h:
            * khtml/rendering/render_object.cpp:
            (RenderObject::setLayouted):
            (RenderObject::scheduleRelayout):
            * khtml/rendering/render_object.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f3f98f68