Index: Source/core/css/CSSValue.h |
diff --git a/Source/core/css/CSSValue.h b/Source/core/css/CSSValue.h |
index 8fac4cdab47d162ed6d9ca8c4d733e8de88abe3c..3fd465eb8f1dcb5d85fe3e695eb28c499b64b40b 100644 |
--- a/Source/core/css/CSSValue.h |
+++ b/Source/core/css/CSSValue.h |
@@ -103,7 +103,6 @@ public: |
bool isFilterValue() const { return m_classType == CSSFilterClass; } |
bool isArrayFunctionValue() const { return m_classType == CSSArrayFunctionValueClass; } |
bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAreasClass; } |
- bool isSVGColor() const { return m_classType == SVGColorClass || m_classType == SVGPaintClass; } |
bool isSVGPaint() const { return m_classType == SVGPaintClass; } |
bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass; } |
bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; } |
@@ -112,7 +111,7 @@ public: |
bool isCSSOMSafe() const { return m_isCSSOMSafe; } |
bool isSubtypeExposedToCSSOM() const |
{ |
- return isPrimitiveValue() || isSVGColor() || isValueList(); |
+ return isPrimitiveValue() || isSVGPaint() || isValueList(); |
} |
PassRefPtrWillBeRawPtr<CSSValue> cloneForCSSOM() const; |
@@ -164,7 +163,6 @@ protected: |
GridTemplateAreasClass, |
// SVG classes. |
- SVGColorClass, |
SVGPaintClass, |
CSSSVGDocumentClass, |