Changeset 110807 in webkit
- Timestamp:
- Mar 14, 2012 7:09:26 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r110802 r110807 1 2012-03-14 Kwonjin Jeong <gram@company100.net> 2 3 Remove obsolete constructors of CSSPrimitiveValue class. 4 https://bugs.webkit.org/show_bug.cgi?id=80971 5 6 Remove constructors of CSSPrimitiveValue that can't be 7 reached. 8 9 Reviewed by Andreas Kling. 10 11 * css/CSSPrimitiveValueMappings.h: 12 1 13 2012-03-14 Igor Oliveira <igor.o@sisa.samsung.com> 2 14 -
trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h
r110488 r110807 87 87 } 88 88 89 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(int i)90 : CSSValue(PrimitiveClass)91 {92 m_primitiveUnitType = CSS_NUMBER;93 m_value.num = static_cast<double>(i);94 }95 96 89 template<> inline CSSPrimitiveValue::operator int() const 97 90 { … … 101 94 ASSERT_NOT_REACHED(); 102 95 return 0; 103 }104 105 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(unsigned i)106 : CSSValue(PrimitiveClass)107 {108 m_primitiveUnitType = CSS_NUMBER;109 m_value.num = static_cast<double>(i);110 96 } 111 97
Note: See TracChangeset
for help on using the changeset viewer.