Changeset 112316 in webkit
- Timestamp:
- Mar 27, 2012 2:34:21 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112312 r112316 1 2012-03-27 Levi Weintraub <leviw@chromium.org> 2 3 Correct LayoutUnit usage in virtual function layoutBlock in RenderFlexibleBox 4 https://bugs.webkit.org/show_bug.cgi?id=82344 5 6 Reviewed by Eric Seidel. 7 8 Correcting the signature of RenderFlexibleBox::layoutBlock to use a LayoutUnit 9 for the page height, and avoiding assigning the renderer's size to an IntSize. 10 11 No new tests. No change in behavior. 12 13 * rendering/RenderFlexibleBox.cpp: 14 (WebCore::RenderFlexibleBox::layoutBlock): 15 * rendering/RenderFlexibleBox.h: 16 (RenderFlexibleBox): 17 1 18 2012-03-27 Timothy Hatcher <timothy@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp
r112301 r112316 231 231 } 232 232 233 void RenderFlexibleBox::layoutBlock(bool relayoutChildren, int, BlockLayoutPass)233 void RenderFlexibleBox::layoutBlock(bool relayoutChildren, LayoutUnit, BlockLayoutPass) 234 234 { 235 235 ASSERT(needsLayout()); … … 248 248 computeInitialRegionRangeForBlock(); 249 249 250 IntSize previousSize = size();250 LayoutSize previousSize = size(); 251 251 252 252 setLogicalHeight(0); -
trunk/Source/WebCore/rendering/RenderFlexibleBox.h
r112156 r112316 45 45 virtual bool isFlexibleBox() const { return true; } 46 46 virtual void computePreferredLogicalWidths(); 47 virtual void layoutBlock(bool relayoutChildren, int pageLogicalHeight = 0, BlockLayoutPass = NormalLayoutPass);47 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0, BlockLayoutPass = NormalLayoutPass); 48 48 49 49 bool isHorizontalFlow() const;
Note: See TracChangeset
for help on using the changeset viewer.