Title: [107865] branches/subpixellayout/Source/WebCore/dom/ElementRareData.h
Revision
107865
Author
[email protected]
Date
2012-02-15 18:24:35 -0800 (Wed, 15 Feb 2012)

Log Message

Fixing usages of INT_MAX with LayoutUnit max values.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/dom/ElementRareData.h (107864 => 107865)


--- branches/subpixellayout/Source/WebCore/dom/ElementRareData.h	2012-02-16 02:15:47 UTC (rev 107864)
+++ branches/subpixellayout/Source/WebCore/dom/ElementRareData.h	2012-02-16 02:24:35 UTC (rev 107865)
@@ -90,7 +90,7 @@
 
 inline IntSize defaultMinimumSizeForResizing()
 {
-    return IntSize(INT_MAX, INT_MAX);
+    return IntSize(std::numeric_limits<LayoutUnit>::max(), std::numeric_limits<LayoutUnit>::max());
 }
 
 inline ElementRareData::ElementRareData()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to