Chromium Code Reviews| Index: Source/core/css/StylePropertySet.h |
| diff --git a/Source/core/css/StylePropertySet.h b/Source/core/css/StylePropertySet.h |
| index 3fed4302f2db09da3ccb9aca97bd3c3cb4db6ddb..c115a87a6261e4a96a7fb3b3a882762c39e0c203 100644 |
| --- a/Source/core/css/StylePropertySet.h |
| +++ b/Source/core/css/StylePropertySet.h |
| @@ -25,6 +25,7 @@ |
| #include "core/css/CSSParserMode.h" |
| #include "core/css/CSSPrimitiveValue.h" |
| #include "core/css/CSSProperty.h" |
| +#include "core/css/PropertySetCSSStyleDeclaration.h" |
| #include <wtf/ListHashSet.h> |
| #include <wtf/text/WTFString.h> |
| #include <wtf/Vector.h> |
| @@ -37,7 +38,6 @@ class Element; |
| class ImmutableStylePropertySet; |
| class KURL; |
| class MutableStylePropertySet; |
| -class PropertySetCSSStyleDeclaration; |
| class StylePropertyShorthand; |
| class StyleSheetContents; |
| @@ -174,8 +174,6 @@ inline const StylePropertyMetadata* ImmutableStylePropertySet::metadataArray() c |
| class MutableStylePropertySet : public StylePropertySet { |
| public: |
| - ~MutableStylePropertySet(); |
| - |
| static PassRefPtr<MutableStylePropertySet> create(CSSParserMode = CSSQuirksMode); |
| static PassRefPtr<MutableStylePropertySet> create(const CSSProperty* properties, unsigned count); |
| @@ -216,14 +214,12 @@ public: |
| Vector<CSSProperty, 4> m_propertyVector; |
| private: |
| - MutableStylePropertySet(CSSParserMode cssParserMode) |
| - : StylePropertySet(cssParserMode) |
| - { } |
| - |
| + MutableStylePropertySet(CSSParserMode); |
|
abarth-chromium
2013/07/03 18:25:42
Please mark one-argument constructors "explicit"
Mads Ager (chromium)
2013/07/04 06:05:47
Done for this one and the constructor in the publi
|
| MutableStylePropertySet(const CSSProperty* properties, unsigned count); |
| bool removeShorthandProperty(CSSPropertyID); |
| CSSProperty* findCSSPropertyWithID(CSSPropertyID); |
| + OwnPtr<PropertySetCSSStyleDeclaration> m_cssomWrapper; |
| }; |
| inline StylePropertyMetadata StylePropertySet::PropertyReference::propertyMetadata() const |