Title: [98772] branches/subpixellayout/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
- Revision
- 98772
- Author
- [email protected]
- Date
- 2011-10-28 15:35:13 -0700 (Fri, 28 Oct 2011)
Log Message
Fixing fast/flexbox/flex-hang. Had used an int instead of a LayoutUnit.
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp (98771 => 98772)
--- branches/subpixellayout/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp 2011-10-28 22:34:42 UTC (rev 98771)
+++ branches/subpixellayout/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp 2011-10-28 22:35:13 UTC (rev 98772)
@@ -798,7 +798,7 @@
}
if (groupRemainingSpace == groupRemainingSpaceAtBeginning) {
// This is not advancing, avoid getting stuck by distributing the remaining pixels.
- int spaceAdd;
+ LayoutUnit spaceAdd;
if (groupRemainingSpace.abs() < 1)
spaceAdd = groupRemainingSpace;
else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes