Chromium Code Reviews| 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..4c5cb20f816675d6afd7e51b3840742071cd9fc4 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 result CSSValueIDs instead of CSSValues. |
|
alancutter (OOO until 2018)
2016/09/30 04:25:53
s/result/return/
|
| + 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; |