Fixed: <rdar://problem/3930733> Mail prints second page of email blank
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jan 2005 22:44:53 +0000 (22:44 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jan 2005 22:44:53 +0000 (22:44 +0000)
commit5bbe34e26449a9e4306196708c03758a9db040b6
tree67a3d9cbf7af0d5f9b7be2ae7918db5b6954fa0f
parentb856a4a7d1bdeda701b4bb4d2f1550e74e6ad8ed
Fixed: <rdar://problem/3930733> Mail prints second page of email blank

        Reviewed by dave.

        * khtml/rendering/render_canvas.cpp:
        (RenderCanvas::paint): cache the print rect since the dirty rect can get changed during printing
        * khtml/rendering/render_flow.cpp:
        (RenderFlow::paintLines): removed null check since the print rect should never be null
        * khtml/rendering/render_list.cpp:
        (RenderListMarker::paint): ditto
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::adjustPageHeight): don't set the print rect here since this method is not called for the last page

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_canvas.cpp
WebCore/khtml/rendering/render_flow.cpp
WebCore/khtml/rendering/render_list.cpp
WebCore/kwq/KWQKHTMLPart.mm