Title: [175924] releases/WebKitGTK/webkit-2.6/Source/WebCore
- Revision
- 175924
- Author
- [email protected]
- Date
- 2014-11-11 07:38:44 -0800 (Tue, 11 Nov 2014)
Log Message
Merge r175177 - Replace INT_MIN/MAX / kFixedPointDenominator with intMin/MaxForLayoutUnit.
https://bugs.webkit.org/show_bug.cgi?id=138047
Reviewed by Andreas Kling.
No change in functionality.
* css/CSSPrimitiveValue.cpp:
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog (175923 => 175924)
--- releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog 2014-11-11 15:22:58 UTC (rev 175923)
+++ releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog 2014-11-11 15:38:44 UTC (rev 175924)
@@ -1,3 +1,14 @@
+2014-10-24 Zalan Bujtas <[email protected]>
+
+ Replace INT_MIN/MAX / kFixedPointDenominator with intMin/MaxForLayoutUnit.
+ https://bugs.webkit.org/show_bug.cgi?id=138047
+
+ Reviewed by Andreas Kling.
+
+ No change in functionality.
+
+ * css/CSSPrimitiveValue.cpp:
+
2014-10-29 Alexey Proskuryakov <[email protected]>
Notify Settings object when its Page object goes away.
Modified: releases/WebKitGTK/webkit-2.6/Source/WebCore/css/CSSPrimitiveValue.cpp (175923 => 175924)
--- releases/WebKitGTK/webkit-2.6/Source/WebCore/css/CSSPrimitiveValue.cpp 2014-11-11 15:22:58 UTC (rev 175923)
+++ releases/WebKitGTK/webkit-2.6/Source/WebCore/css/CSSPrimitiveValue.cpp 2014-11-11 15:38:44 UTC (rev 175924)
@@ -61,8 +61,8 @@
// Max/min values for CSS, needs to slightly smaller/larger than the true max/min values to allow for rounding without overflowing.
// Subtract two (rather than one) to allow for values to be converted to float and back without exceeding the LayoutUnit::max.
-const int maxValueForCssLength = INT_MAX / kFixedPointDenominator - 2;
-const int minValueForCssLength = INT_MIN / kFixedPointDenominator + 2;
+const int maxValueForCssLength = intMaxForLayoutUnit - 2;
+const int minValueForCssLength = intMinForLayoutUnit + 2;
static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes