Changeset 148359 in webkit


Ignore:
Timestamp:
Apr 13, 2013 9:43:39 AM (11 years ago)
Author:
akling@apple.com
Message:

Remove unused method CSSStyleDeclaration::makeMutable().
<http://webkit.org/b/114567>

Reviewed by Anders Carlsson.

  • css/CSSComputedStyleDeclaration.cpp:
  • css/CSSComputedStyleDeclaration.h:

(CSSComputedStyleDeclaration):

  • css/CSSStyleDeclaration.h:

(CSSStyleDeclaration):

  • css/PropertySetCSSStyleDeclaration.cpp:
  • css/PropertySetCSSStyleDeclaration.h:
Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148358 r148359  
     12013-04-13  Andreas Kling  <akling@apple.com>
     2
     3        Remove unused method CSSStyleDeclaration::makeMutable().
     4        <http://webkit.org/b/114567>
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * css/CSSComputedStyleDeclaration.cpp:
     9        * css/CSSComputedStyleDeclaration.h:
     10        (CSSComputedStyleDeclaration):
     11        * css/CSSStyleDeclaration.h:
     12        (CSSStyleDeclaration):
     13        * css/PropertySetCSSStyleDeclaration.cpp:
     14        * css/PropertySetCSSStyleDeclaration.h:
     15
    1162013-04-13  Antoine Quint  <graouts@apple.com>
    217
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp

    r148227 r148359  
    29342934}
    29352935
    2936 PassRefPtr<StylePropertySet> CSSComputedStyleDeclaration::makeMutable()
    2937 {
    2938     return copy();
    2939 }
    2940 
    29412936PassRefPtr<CSSValueList> CSSComputedStyleDeclaration::getCSSPropertyValuesForShorthandProperties(const StylePropertyShorthand& shorthand) const
    29422937{
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h

    r145029 r148359  
    6363
    6464    virtual PassRefPtr<StylePropertySet> copy() const;
    65     virtual PassRefPtr<StylePropertySet> makeMutable();
    6665
    6766    PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout) const;
  • trunk/Source/WebCore/css/CSSStyleDeclaration.h

    r143926 r148359  
    6666
    6767    virtual PassRefPtr<StylePropertySet> copy() const = 0;
    68     virtual PassRefPtr<StylePropertySet> makeMutable() = 0;
    6968
    7069    virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const = 0;
  • trunk/Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp

    r143926 r148359  
    308308}
    309309
    310 PassRefPtr<StylePropertySet> PropertySetCSSStyleDeclaration::makeMutable()
    311 {
    312     ASSERT(m_propertySet->isMutable());
    313     return m_propertySet;
    314 }
    315 
    316310bool PropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, const CSSValue* propertyValue) const
    317311{
  • trunk/Source/WebCore/css/PropertySetCSSStyleDeclaration.h

    r147962 r148359  
    7373    virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRIDE;
    7474    virtual PassRefPtr<StylePropertySet> copy() const OVERRIDE;
    75     virtual PassRefPtr<StylePropertySet> makeMutable() OVERRIDE;
    7675
    7776    CSSValue* cloneAndCacheForCSSOM(CSSValue*);
Note: See TracChangeset for help on using the changeset viewer.