Changeset 91314 in webkit
- Timestamp:
- Jul 19, 2011 3:49:32 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r91309 r91314 1 2011-07-19 Dan Bernstein <mitz@apple.com> 2 3 Nothing printed when specifying a very large maximum layout width 4 https://bugs.webkit.org/show_bug.cgi?id=64831 5 6 Reviewed by Beth Dakin. 7 8 I am not adding a test because the DumpRenderTree printing test machinery is based on PrintContext, 9 which does not exercise the code path on which this bug lies. 10 11 * page/FrameView.cpp: 12 (WebCore::FrameView::forceLayoutForPagination): Fixed an integer overflow. 13 1 14 2011-07-19 Nate Chapin <japhet@chromium.org> 2 15 -
trunk/Source/WebCore/page/FrameView.cpp
r91027 r91314 2633 2633 int docLogicalWidth = horizontalWritingMode ? root->documentRect().width() : root->documentRect().height(); 2634 2634 if (docLogicalWidth > pageLogicalWidth) { 2635 flooredPageLogicalWidth = std::min< int>(docLogicalWidth, pageLogicalWidth * maximumShrinkFactor);2635 flooredPageLogicalWidth = std::min<float>(docLogicalWidth, pageLogicalWidth * maximumShrinkFactor); 2636 2636 if (pageLogicalHeight) 2637 2637 root->setPageLogicalHeight(flooredPageLogicalWidth / pageSize.width() * pageSize.height());
Note: See TracChangeset
for help on using the changeset viewer.