Changeset 209971 in webkit


Ignore:
Timestamp:
Dec 18, 2016 12:11:45 AM (7 years ago)
Author:
Simon Fraser
Message:

Build fix: linking WebCore was failing: you can't export inline functions.

  • css/DeprecatedCSSOMPrimitiveValue.cpp:

(WebCore::DeprecatedCSSOMPrimitiveValue::primitiveType):
(WebCore::DeprecatedCSSOMPrimitiveValue::setFloatValue):
(WebCore::DeprecatedCSSOMPrimitiveValue::getFloatValue):
(WebCore::DeprecatedCSSOMPrimitiveValue::setStringValue):
(WebCore::DeprecatedCSSOMPrimitiveValue::getStringValue):

  • css/DeprecatedCSSOMPrimitiveValue.h:

(WebCore::DeprecatedCSSOMPrimitiveValue::primitiveType): Deleted.
(WebCore::DeprecatedCSSOMPrimitiveValue::setFloatValue): Deleted.
(WebCore::DeprecatedCSSOMPrimitiveValue::getFloatValue): Deleted.
(WebCore::DeprecatedCSSOMPrimitiveValue::setStringValue): Deleted.
(WebCore::DeprecatedCSSOMPrimitiveValue::getStringValue): Deleted.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r209969 r209971  
     12016-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
    1182016-12-16  Dave Hyatt  <hyatt@apple.com>
    219
  • trunk/Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.cpp

    r209969 r209971  
    3838// more complicated.
    3939
     40
     41unsigned short DeprecatedCSSOMPrimitiveValue::primitiveType() const
     42{
     43    return m_value->primitiveType();
     44}
     45
     46ExceptionOr<void> DeprecatedCSSOMPrimitiveValue::setFloatValue(unsigned short unitType, double floatValue)
     47{
     48    return m_value->setFloatValue(unitType, floatValue);
     49}
     50
     51ExceptionOr<float> DeprecatedCSSOMPrimitiveValue::getFloatValue(unsigned short unitType) const
     52{
     53    return m_value->getFloatValue(unitType);
     54}
     55
     56ExceptionOr<void> DeprecatedCSSOMPrimitiveValue::setStringValue(unsigned short stringType, const String& stringValue)
     57{
     58    return m_value->setStringValue(stringType, stringValue);
     59}
     60
     61ExceptionOr<String> DeprecatedCSSOMPrimitiveValue::getStringValue() const
     62{
     63    return m_value->getStringValue();
     64}
     65
    4066ExceptionOr<Ref<DeprecatedCSSOMCounter>> DeprecatedCSSOMPrimitiveValue::getCounterValue() const
    4167{
  • trunk/Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.h

    r209969 r209971  
    8282    // FIXME: Eventually these will contain more code and not just call through to
    8383    // 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;
    8989    WEBCORE_EXPORT ExceptionOr<Ref<DeprecatedCSSOMCounter>> getCounterValue() const;
    9090    WEBCORE_EXPORT ExceptionOr<Ref<DeprecatedCSSOMRect>> getRectValue() const;
Note: See TracChangeset for help on using the changeset viewer.