Changeset 181475 in webkit
- Timestamp:
- Mar 13, 2015, 12:52:39 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
css/CSSPrimitiveValue.cpp (modified) (1 diff)
-
css/makeprop.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181468 r181475 1 2015-03-13 Joonghun Park <jh718.park@samsung.com> 2 3 Fix Debug build error 'comparison is always true due to limited range of data type [-Werror=type-limits]' 4 https://bugs.webkit.org/show_bug.cgi?id=142652 5 6 Reviewed by Csaba Osztrogonác. 7 8 No new tests, no behavior changes. 9 10 Now CSSPropertyID type is uint16_t, so propertyID >= 0 check is needed no more. 11 12 * css/CSSPrimitiveValue.cpp: 13 (WebCore::propertyName): 14 * css/makeprop.pl: 15 1 16 2015-03-12 Zan Dobersek <zdobersek@igalia.com> 2 17 -
trunk/Source/WebCore/css/CSSPrimitiveValue.cpp
r181320 r181475 218 218 static const AtomicString& propertyName(CSSPropertyID propertyID) 219 219 { 220 ASSERT_ARG(propertyID, propertyID >= 0);221 220 ASSERT_ARG(propertyID, (propertyID >= firstCSSProperty && propertyID < firstCSSProperty + numCSSProperties)); 222 221 -
trunk/Source/WebCore/css/makeprop.pl
r181320 r181475 250 250 bool CSSProperty::isInheritedProperty(CSSPropertyID id) 251 251 { 252 ASSERT(id >= 0 && id<= lastCSSProperty);252 ASSERT(id <= lastCSSProperty); 253 253 ASSERT(id != CSSPropertyInvalid); 254 254 return isInheritedPropertyTable[id];
Note:
See TracChangeset
for help on using the changeset viewer.