Skip to content
  • honeycutt's avatar
    2007-08-24 Jon Honeycutt <jhoneycutt@apple.com> · c1d09518
    honeycutt authored
            Reviewed by Darin.
    
            <rdar://problem/5433236> Print preview of empty txt file crashes Safari
            Fix: Adjust computePageRectsForFrame to always return at least one 
            page rect, even if document height is zero.
    
            * WebCore.vcproj/WebCore.vcproj:
            * bridge/win/FrameWin.h: Added Vector& parameter to 
            computePagesRectsForFrame; changed its return type to void.
            * bridge/win/FrameWin.cpp:
            (WebCore::computePageRectsForFrame): Reordered the loop that inserts
            rects into the vector.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c1d09518