Title: [99715] trunk/Source/WebCore
- Revision
- 99715
- Author
- [email protected]
- Date
- 2011-11-09 07:31:05 -0800 (Wed, 09 Nov 2011)
Log Message
Unreviewed build fix after r99711. (Signed/unsigned compare.)
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::getDoubleValueInternal):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (99714 => 99715)
--- trunk/Source/WebCore/ChangeLog 2011-11-09 15:30:38 UTC (rev 99714)
+++ trunk/Source/WebCore/ChangeLog 2011-11-09 15:31:05 UTC (rev 99715)
@@ -1,3 +1,10 @@
+2011-11-09 Andreas Kling <[email protected]>
+
+ Unreviewed build fix after r99711. (Signed/unsigned compare.)
+
+ * css/CSSPrimitiveValue.cpp:
+ (WebCore::CSSPrimitiveValue::getDoubleValueInternal):
+
2011-11-09 Alexander Pavlov <[email protected]>
Web Inspector: Provisionally change StylesSidebarPane section DOM layout to allow media queries
Modified: trunk/Source/WebCore/css/CSSPrimitiveValue.cpp (99714 => 99715)
--- trunk/Source/WebCore/css/CSSPrimitiveValue.cpp 2011-11-09 15:30:38 UTC (rev 99714)
+++ trunk/Source/WebCore/css/CSSPrimitiveValue.cpp 2011-11-09 15:31:05 UTC (rev 99715)
@@ -530,7 +530,7 @@
{
if (!isValidCSSUnitTypeForDoubleConversion(static_cast<UnitTypes>(m_primitiveUnitType)) || !isValidCSSUnitTypeForDoubleConversion(requestedUnitType))
return false;
- if (requestedUnitType == m_primitiveUnitType || requestedUnitType == CSS_DIMENSION) {
+ if (requestedUnitType == static_cast<UnitTypes>(m_primitiveUnitType) || requestedUnitType == CSS_DIMENSION) {
*result = m_value.num;
return true;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes