Index: Source/core/css/CSSProperty.h |
diff --git a/Source/core/css/CSSProperty.h b/Source/core/css/CSSProperty.h |
index 61d51612e3dbe1abb6a591c99dd80ca5f67952da..76334f9c875d6baac4c2f87e42f92e9fdf480d9f 100644 |
--- a/Source/core/css/CSSProperty.h |
+++ b/Source/core/css/CSSProperty.h |
@@ -22,6 +22,7 @@ |
#define CSSProperty_h |
#include "core/CSSPropertyNames.h" |
+#include "core/css/CSSPropertyMetadata.h" |
#include "core/css/CSSValue.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/text/TextDirection.h" |
@@ -56,7 +57,7 @@ class CSSProperty { |
ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
CSSProperty(CSSPropertyID propertyID, PassRefPtrWillBeRawPtr<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false) |
- : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, isInheritedProperty(propertyID)) |
+ : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, CSSPropertyMetadata::isInheritedProperty(propertyID)) |
, m_value(value) |
{ |
} |
@@ -78,7 +79,6 @@ public: |
void wrapValueInCommaSeparatedList(); |
static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirection, WritingMode); |
- static bool isInheritedProperty(CSSPropertyID); |
static bool isAffectedByAllProperty(CSSPropertyID); |
const StylePropertyMetadata& metadata() const { return m_metadata; } |