Title: [100206] branches/subpixellayout/Source/WebCore/rendering/AutoTableLayout.cpp
- Revision
- 100206
- Author
- le...@chromium.org
- Date
- 2011-11-14 16:05:04 -0800 (Mon, 14 Nov 2011)
Log Message
Correcting usage of intMaxForLength in AutoTableLayout.
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/rendering/AutoTableLayout.cpp (100205 => 100206)
--- branches/subpixellayout/Source/WebCore/rendering/AutoTableLayout.cpp 2011-11-15 00:04:53 UTC (rev 100205)
+++ branches/subpixellayout/Source/WebCore/rendering/AutoTableLayout.cpp 2011-11-15 00:05:04 UTC (rev 100206)
@@ -267,7 +267,7 @@
maxWidth = minWidth;
} else if (!remainingPercent && maxNonPercent) {
// if there was no remaining percent, maxWidth is invalid.
- maxWidth = intMaxForLength;
+ maxWidth = numeric_limits<LayoutUnit>::max();
}
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes