Index: Source/core/css/CSSPrimitiveValue.h |
diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h |
index 47d1afbb4626e1cc641dd24cc9183d615deaf045..339fe9a4fd1edfd3e23ff3c7570d740cff14615b 100644 |
--- a/Source/core/css/CSSPrimitiveValue.h |
+++ b/Source/core/css/CSSPrimitiveValue.h |
@@ -243,7 +243,7 @@ public: |
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createAllowingMarginQuirk(double value, UnitType type) |
{ |
CSSPrimitiveValue* quirkValue = new CSSPrimitiveValue(value, type); |
- quirkValue->m_isQuirkValue = true; |
+ quirkValue->setIsQuirkValue(true); |
return adoptRefWillBeNoop(quirkValue); |
} |
@@ -287,8 +287,6 @@ public: |
static const char* unitTypeToString(UnitType); |
String customCSSText() const; |
- bool isQuirkValue() const { return m_isQuirkValue; } |
- |
bool equals(const CSSPrimitiveValue&) const; |
DECLARE_TRACE_AFTER_DISPATCH(); |
@@ -337,7 +335,7 @@ private: |
double computeLengthDouble(const CSSToLengthConversionData&) const; |
- inline UnitType type() const { return static_cast<UnitType>(m_primitiveUnitType); } |
+ inline UnitType type() const { return static_cast<UnitType>(primitiveUnitType()); } |
union { |
CSSPropertyID propertyID; |