Index: Source/core/css/CSSGradientValue.h |
diff --git a/Source/core/css/CSSGradientValue.h b/Source/core/css/CSSGradientValue.h |
index 1429e5008e9a651dee0830658c5f7a786da8f0ff..ed9c2d8a83451ca363991d443b976f03efd41e87 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 |