Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: Source/core/css/CSSGradientValue.h

Issue 30963002: DEFINE_CSS_VALUE_TYPE_CASTS starts to use DEFINE_TYPE_CASTS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSFunctionValue.h ('k') | Source/core/css/CSSGridTemplateValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/css/CSSFunctionValue.h ('k') | Source/core/css/CSSGridTemplateValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698