Skip to content
  • hyatt's avatar
    Minor refactoring and cleanup of the bridge calls that want to control... · cebb8f67
    hyatt authored
            Minor refactoring and cleanup of the bridge calls that want to control layout settings on the RenderView.
            Have the bridge talk through the FrameView instead of just asking for the RenderView directly.
    
            Add an assert to help catch situations where the RenderView needs layout at paint time, since this is a known
            catastrophic scenario that will (much of the time) result in a crash in RenderTableSection::paint.
    
            Reviewed by aroben
    
            * page/FrameView.cpp:
            (WebCore::FrameView::adjustViewSize):
            (WebCore::FrameView::needsLayout):
            (WebCore::FrameView::setNeedsLayout):
            * page/FrameView.h:
            * page/mac/WebCoreFrameBridge.mm:
            (-[WebCoreFrameBridge needsLayout]):
            (-[WebCoreFrameBridge setNeedsLayout]):
            * rendering/RenderView.cpp:
            (WebCore::RenderView::paint):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cebb8f67