Changeset 209971 in webkit
- Timestamp:
- Dec 18, 2016 12:11:45 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209969 r209971 1 2016-12-17 Simon Fraser <simon.fraser@apple.com> 2 3 Build fix: linking WebCore was failing: you can't export inline functions. 4 5 * css/DeprecatedCSSOMPrimitiveValue.cpp: 6 (WebCore::DeprecatedCSSOMPrimitiveValue::primitiveType): 7 (WebCore::DeprecatedCSSOMPrimitiveValue::setFloatValue): 8 (WebCore::DeprecatedCSSOMPrimitiveValue::getFloatValue): 9 (WebCore::DeprecatedCSSOMPrimitiveValue::setStringValue): 10 (WebCore::DeprecatedCSSOMPrimitiveValue::getStringValue): 11 * css/DeprecatedCSSOMPrimitiveValue.h: 12 (WebCore::DeprecatedCSSOMPrimitiveValue::primitiveType): Deleted. 13 (WebCore::DeprecatedCSSOMPrimitiveValue::setFloatValue): Deleted. 14 (WebCore::DeprecatedCSSOMPrimitiveValue::getFloatValue): Deleted. 15 (WebCore::DeprecatedCSSOMPrimitiveValue::setStringValue): Deleted. 16 (WebCore::DeprecatedCSSOMPrimitiveValue::getStringValue): Deleted. 17 1 18 2016-12-16 Dave Hyatt <hyatt@apple.com> 2 19 -
trunk/Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.cpp
r209969 r209971 38 38 // more complicated. 39 39 40 41 unsigned short DeprecatedCSSOMPrimitiveValue::primitiveType() const 42 { 43 return m_value->primitiveType(); 44 } 45 46 ExceptionOr<void> DeprecatedCSSOMPrimitiveValue::setFloatValue(unsigned short unitType, double floatValue) 47 { 48 return m_value->setFloatValue(unitType, floatValue); 49 } 50 51 ExceptionOr<float> DeprecatedCSSOMPrimitiveValue::getFloatValue(unsigned short unitType) const 52 { 53 return m_value->getFloatValue(unitType); 54 } 55 56 ExceptionOr<void> DeprecatedCSSOMPrimitiveValue::setStringValue(unsigned short stringType, const String& stringValue) 57 { 58 return m_value->setStringValue(stringType, stringValue); 59 } 60 61 ExceptionOr<String> DeprecatedCSSOMPrimitiveValue::getStringValue() const 62 { 63 return m_value->getStringValue(); 64 } 65 40 66 ExceptionOr<Ref<DeprecatedCSSOMCounter>> DeprecatedCSSOMPrimitiveValue::getCounterValue() const 41 67 { -
trunk/Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.h
r209969 r209971 82 82 // FIXME: Eventually these will contain more code and not just call through to 83 83 // CSSPrimitiveValue. 84 WEBCORE_EXPORT unsigned short primitiveType() const { return m_value->primitiveType(); }85 WEBCORE_EXPORT ExceptionOr<void> setFloatValue(unsigned short unitType, double floatValue) { return m_value->setFloatValue(unitType, floatValue); }86 WEBCORE_EXPORT ExceptionOr<float> getFloatValue(unsigned short unitType) const { return m_value->getFloatValue(unitType); }87 WEBCORE_EXPORT ExceptionOr<void> setStringValue(unsigned short stringType, const String& stringValue) { return m_value->setStringValue(stringType, stringValue); }88 WEBCORE_EXPORT ExceptionOr<String> getStringValue() const { return m_value->getStringValue(); }84 WEBCORE_EXPORT unsigned short primitiveType() const; 85 WEBCORE_EXPORT ExceptionOr<void> setFloatValue(unsigned short unitType, double); 86 WEBCORE_EXPORT ExceptionOr<float> getFloatValue(unsigned short unitType) const; 87 WEBCORE_EXPORT ExceptionOr<void> setStringValue(unsigned short stringType, const String&); 88 WEBCORE_EXPORT ExceptionOr<String> getStringValue() const; 89 89 WEBCORE_EXPORT ExceptionOr<Ref<DeprecatedCSSOMCounter>> getCounterValue() const; 90 90 WEBCORE_EXPORT ExceptionOr<Ref<DeprecatedCSSOMRect>> getRectValue() const;
Note: See TracChangeset
for help on using the changeset viewer.