Index: Source/core/css/StylePropertySet.h |
diff --git a/Source/core/css/StylePropertySet.h b/Source/core/css/StylePropertySet.h |
index 16772337db79b9909be528a23f2b1113621b9965..cf2eef0afd9d57397c5e329d518990aa65ab9e10 100644 |
--- a/Source/core/css/StylePropertySet.h |
+++ b/Source/core/css/StylePropertySet.h |
@@ -90,7 +90,7 @@ public: |
int findPropertyIndex(CSSPropertyID) const; |
bool hasProperty(CSSPropertyID property) const { return findPropertyIndex(property) != -1; } |
- NullableCSSValue getPropertyCSSValue(CSSPropertyID) const; |
+ const NullableCSSValue getPropertyCSSValue(CSSPropertyID) const; |
String getPropertyValue(CSSPropertyID) const; |
bool propertyIsImportant(CSSPropertyID) const; |
@@ -142,6 +142,7 @@ protected: |
unsigned m_arraySize : 28; |
friend class PropertySetCSSStyleDeclaration; |
+ |
}; |
class CORE_EXPORT ImmutableStylePropertySet : public StylePropertySet { |
@@ -195,6 +196,7 @@ public: |
// These expand shorthand properties into multiple properties. |
bool setProperty(CSSPropertyID unresolvedProperty, const String& value, bool important = false, StyleSheetContents* contextStyleSheet = 0); |
void setProperty(CSSPropertyID, const CSSValue&, bool important = false); |
+ void setProperty(CSSPropertyID, const CSSPrimitiveValue&, bool important = false); |
// These do not. FIXME: This is too messy, we can do better. |
bool setProperty(CSSPropertyID, CSSValueID identifier, bool important = false); |