2007-08-24 Jon Honeycutt <jhoneycutt@apple.com>
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: https://svn.webkit.org/repository/webkit/trunk@25218
268f45cc-cd09-0410-ab3c-
d52691b4dbfc