Index: third_party/WebKit/Source/core/css/CSSGradientValue.h |
diff --git a/third_party/WebKit/Source/core/css/CSSGradientValue.h b/third_party/WebKit/Source/core/css/CSSGradientValue.h |
index 6d436dc11f525149b9fc6a956a984d3d23ca8c42..00609edd1789f11d2815b5e0a40d8faecce3fe7f 100644 |
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.h |
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.h |
@@ -26,6 +26,7 @@ |
#ifndef CSSGradientValue_h |
#define CSSGradientValue_h |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSImageGeneratorValue.h" |
#include "core/css/CSSPrimitiveValue.h" |
#include "wtf/RefPtr.h" |
@@ -190,8 +191,8 @@ public: |
void setFirstRadius(CSSPrimitiveValue* val) { m_firstRadius = val; } |
void setSecondRadius(CSSPrimitiveValue* val) { m_secondRadius = val; } |
- void setShape(CSSPrimitiveValue* val) { m_shape = val; } |
- void setSizingBehavior(CSSPrimitiveValue* val) { m_sizingBehavior = val; } |
+ void setShape(CSSIdentifierValue* val) { m_shape = val; } |
+ void setSizingBehavior(CSSIdentifierValue* val) { m_sizingBehavior = val; } |
void setEndHorizontalSize(CSSPrimitiveValue* val) { m_endHorizontalSize = val; } |
void setEndVerticalSize(CSSPrimitiveValue* val) { m_endVerticalSize = val; } |
@@ -217,8 +218,8 @@ private: |
Member<CSSPrimitiveValue> m_secondRadius; |
// The below are only used for non-deprecated gradients. Any of them may be null. |
- Member<CSSPrimitiveValue> m_shape; |
- Member<CSSPrimitiveValue> m_sizingBehavior; |
+ Member<CSSIdentifierValue> m_shape; |
+ Member<CSSIdentifierValue> m_sizingBehavior; |
Member<CSSPrimitiveValue> m_endHorizontalSize; |
Member<CSSPrimitiveValue> m_endVerticalSize; |