Skip to content
  • mitz@apple.com's avatar
    Reviewed by Jessica Kahn. · 4e770aa5
    mitz@apple.com authored
            - fix <rdar://problem/5965013> Page 2 does not print correctly
    
            When printing, _recursiveDisplayRectIfNeededIgnoringOpacity:... and
            _recursiveDisplayAllDirtyWithLockFocus:... can be invoked without
            -viewWillDraw being sent first, which could lead to painting without
            valid layout. The fix is to ensure up-to-date layout in those methods
            when printing.
    
            * WebView/WebHTMLView.mm:
            (-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
            (-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4e770aa5