[webkit-reviews] review granted: [Bug 61256] REGRESSION (r77257): Print HTML with only 1 line, then 2 pages are printed : [Attachment 96695] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 13 12:32:18 PDT 2011


Alexey Proskuryakov <ap at webkit.org> has granted Kentaro Hara
<haraken at google.com>'s request for review:
Bug 61256: REGRESSION (r77257): Print HTML with only 1 line, then 2 pages are
printed
https://bugs.webkit.org/show_bug.cgi?id=61256

Attachment 96695: Patch
https://bugs.webkit.org/attachment.cgi?id=96695&action=review

------- Additional Comments from Alexey Proskuryakov <ap at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=96695&action=review

r=me then.

> Source/WebCore/page/Frame.cpp:577
> +    if (!contentRenderer()) {
> +	   resultSize.setWidth(0);
> +	   resultSize.setHeight(0);
> +	   return resultSize;

You could also just do "return FloatSize()".


More information about the webkit-reviews mailing list