Index: Source/core/css/PropertySetCSSStyleDeclaration.h |
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.h b/Source/core/css/PropertySetCSSStyleDeclaration.h |
index dec4a4188a730a40f3f56de6bb8a72ef627ae52d..ea40793d672b75ccbfee6a884e17d628c77bd68d 100644 |
--- a/Source/core/css/PropertySetCSSStyleDeclaration.h |
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.h |
@@ -34,13 +34,13 @@ namespace WebCore { |
class CSSRule; |
class CSSProperty; |
class CSSValue; |
-class StylePropertySet; |
+class MutableStylePropertySet; |
class StyleSheetContents; |
class StyledElement; |
class PropertySetCSSStyleDeclaration : public CSSStyleDeclaration { |
public: |
- PropertySetCSSStyleDeclaration(StylePropertySet* propertySet) : m_propertySet(propertySet) { } |
+ PropertySetCSSStyleDeclaration(MutableStylePropertySet* propertySet) : m_propertySet(propertySet) { } |
virtual StyledElement* parentElement() const { return 0; } |
virtual void clearParentElement() { ASSERT_NOT_REACHED(); } |
@@ -78,14 +78,14 @@ protected: |
virtual void willMutate() { } |
virtual void didMutate(MutationType) { } |
- StylePropertySet* m_propertySet; |
+ MutableStylePropertySet* m_propertySet; |
OwnPtr<HashMap<CSSValue*, RefPtr<CSSValue> > > m_cssomCSSValueClones; |
}; |
class StyleRuleCSSStyleDeclaration : public PropertySetCSSStyleDeclaration |
{ |
public: |
- static PassRefPtr<StyleRuleCSSStyleDeclaration> create(StylePropertySet* propertySet, CSSRule* parentRule) |
+ static PassRefPtr<StyleRuleCSSStyleDeclaration> create(MutableStylePropertySet* propertySet, CSSRule* parentRule) |
{ |
return adoptRef(new StyleRuleCSSStyleDeclaration(propertySet, parentRule)); |
} |
@@ -95,12 +95,12 @@ public: |
virtual void ref() OVERRIDE; |
virtual void deref() OVERRIDE; |
- void reattach(StylePropertySet*); |
+ void reattach(MutableStylePropertySet*); |
virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; |
private: |
- StyleRuleCSSStyleDeclaration(StylePropertySet*, CSSRule*); |
+ StyleRuleCSSStyleDeclaration(MutableStylePropertySet*, CSSRule*); |
virtual ~StyleRuleCSSStyleDeclaration(); |
virtual CSSStyleSheet* parentStyleSheet() const OVERRIDE; |
@@ -117,7 +117,7 @@ private: |
class InlineCSSStyleDeclaration : public PropertySetCSSStyleDeclaration |
{ |
public: |
- InlineCSSStyleDeclaration(StylePropertySet* propertySet, StyledElement* parentElement) |
+ InlineCSSStyleDeclaration(MutableStylePropertySet* propertySet, StyledElement* parentElement) |
: PropertySetCSSStyleDeclaration(propertySet) |
, m_parentElement(parentElement) |
{ |