Changeset 175924 in webkit
- Timestamp:
- Nov 11, 2014, 7:38:44 AM (12 years ago)
- Location:
- releases/WebKitGTK/webkit-2.6/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
css/CSSPrimitiveValue.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog
r175923 r175924 1 2014-10-24 Zalan Bujtas <zalan@apple.com> 2 3 Replace INT_MIN/MAX / kFixedPointDenominator with intMin/MaxForLayoutUnit. 4 https://bugs.webkit.org/show_bug.cgi?id=138047 5 6 Reviewed by Andreas Kling. 7 8 No change in functionality. 9 10 * css/CSSPrimitiveValue.cpp: 11 1 12 2014-10-29 Alexey Proskuryakov <ap@apple.com> 2 13 -
releases/WebKitGTK/webkit-2.6/Source/WebCore/css/CSSPrimitiveValue.cpp
r173570 r175924 62 62 // Max/min values for CSS, needs to slightly smaller/larger than the true max/min values to allow for rounding without overflowing. 63 63 // Subtract two (rather than one) to allow for values to be converted to float and back without exceeding the LayoutUnit::max. 64 const int maxValueForCssLength = INT_MAX / kFixedPointDenominator- 2;65 const int minValueForCssLength = INT_MIN / kFixedPointDenominator+ 2;64 const int maxValueForCssLength = intMaxForLayoutUnit - 2; 65 const int minValueForCssLength = intMinForLayoutUnit + 2; 66 66 67 67 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType)
Note:
See TracChangeset
for help on using the changeset viewer.