Index: Source/core/css/CSSGradientValue.h |
diff --git a/Source/core/css/CSSGradientValue.h b/Source/core/css/CSSGradientValue.h |
index 72766daece120d560981bac93d88e6a6bb46feb7..dfaa5a6d905d6b606d2c52f73603313c1ff40d9d 100644 |
--- a/Source/core/css/CSSGradientValue.h |
+++ b/Source/core/css/CSSGradientValue.h |
@@ -131,7 +131,7 @@ protected: |
bool m_repeating; |
}; |
-DEFINE_CSS_VALUE_TYPE_CASTS(GradientValue); |
+DEFINE_CSS_VALUE_TYPE_CASTS(CSSGradientValue, isGradientValue()); |
class CSSLinearGradientValue : public CSSGradientValue { |
public: |
@@ -170,7 +170,7 @@ private: |
RefPtr<CSSPrimitiveValue> m_angle; // may be null. |
}; |
-DEFINE_CSS_VALUE_TYPE_CASTS(LinearGradientValue); |
+DEFINE_CSS_VALUE_TYPE_CASTS(CSSLinearGradientValue, isLinearGradientValue()); |
class CSSRadialGradientValue : public CSSGradientValue { |
public: |
@@ -233,7 +233,7 @@ private: |
RefPtr<CSSPrimitiveValue> m_endVerticalSize; |
}; |
-DEFINE_CSS_VALUE_TYPE_CASTS(RadialGradientValue); |
+DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); |
} // namespace WebCore |