Index: third_party/WebKit/Source/core/css/CSSContentDistributionValue.h |
diff --git a/third_party/WebKit/Source/core/css/CSSContentDistributionValue.h b/third_party/WebKit/Source/core/css/CSSContentDistributionValue.h |
index 871b187ec0ad08b8c0751a058e59d73ae847aaaf..6ab6ae0c5748280c7093a63324c0972056d44ff4 100644 |
--- a/third_party/WebKit/Source/core/css/CSSContentDistributionValue.h |
+++ b/third_party/WebKit/Source/core/css/CSSContentDistributionValue.h |
@@ -5,7 +5,7 @@ |
#ifndef CSSContentDistributionValue_h |
#define CSSContentDistributionValue_h |
-#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/CSSValue.h" |
#include "wtf/RefPtr.h" |
@@ -19,11 +19,12 @@ public: |
} |
~CSSContentDistributionValue(); |
- CSSPrimitiveValue* distribution() const { return CSSPrimitiveValue::createIdentifier(m_distribution); } |
+ // TODO(sashab): Make these return CSSValueIDs instead of CSSValues. |
+ CSSIdentifierValue* distribution() const { return CSSIdentifierValue::create(m_distribution); } |
- CSSPrimitiveValue* position() const { return CSSPrimitiveValue::createIdentifier(m_position); } |
+ CSSIdentifierValue* position() const { return CSSIdentifierValue::create(m_position); } |
- CSSPrimitiveValue* overflow() const { return CSSPrimitiveValue::createIdentifier(m_overflow); } |
+ CSSIdentifierValue* overflow() const { return CSSIdentifierValue::create(m_overflow); } |
String customCSSText() const; |