Title: [149218] trunk/Source/WebCore
- Revision
- 149218
- Author
- roger_f...@apple.com
- Date
- 2013-04-26 15:29:00 -0700 (Fri, 26 Apr 2013)
Log Message
Unreviewed build fix.
* platform/LayoutUnit.h:
(WebCore::LayoutUnit::LayoutUnit):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (149217 => 149218)
--- trunk/Source/WebCore/ChangeLog 2013-04-26 22:22:53 UTC (rev 149217)
+++ trunk/Source/WebCore/ChangeLog 2013-04-26 22:29:00 UTC (rev 149218)
@@ -1,3 +1,10 @@
+2013-04-26 Roger Fong <roger_f...@apple.com>
+
+ Unreviewed build fix.
+
+ * platform/LayoutUnit.h:
+ (WebCore::LayoutUnit::LayoutUnit):
+
2013-04-26 Michael Saboff <msab...@apple.com>
WebCore ObjC bridge is missing support for bool type
Modified: trunk/Source/WebCore/platform/LayoutUnit.h (149217 => 149218)
--- trunk/Source/WebCore/platform/LayoutUnit.h 2013-04-26 22:22:53 UTC (rev 149217)
+++ trunk/Source/WebCore/platform/LayoutUnit.h 2013-04-26 22:29:00 UTC (rev 149218)
@@ -110,11 +110,11 @@
#else
LayoutUnit(int value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; }
LayoutUnit(unsigned short value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; }
- LayoutUnit(unsigned value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; }
- LayoutUnit(unsigned long long value) { REPORT_OVERFLOW(isInBounds(static_cast<unsigned>(value))); m_value = value; }
- LayoutUnit(unsigned long value) { REPORT_OVERFLOW(isInBounds(static_cast<unsigned>(value))); m_value = value; }
- LayoutUnit(float value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; }
- LayoutUnit(double value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; }
+ LayoutUnit(unsigned value) { REPORT_OVERFLOW(isInBounds(value)); m_value = clampTo<int>(value); }
+ LayoutUnit(unsigned long long value) { REPORT_OVERFLOW(isInBounds(static_cast<unsigned>(value))); m_value = clampTo<int>(value); }
+ LayoutUnit(unsigned long value) { REPORT_OVERFLOW(isInBounds(static_cast<unsigned>(value))); m_value = clampTo<int>(value); }
+ LayoutUnit(float value) { REPORT_OVERFLOW(isInBounds(value)); m_value = clampTo<int>(value); }
+ LayoutUnit(double value) { REPORT_OVERFLOW(isInBounds(value)); m_value = clampTo<int>(value); }
#endif
static LayoutUnit fromFloatCeil(float value)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes