Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
index 82e384900049f2ed5302ff2879a437543655413b..e879977f18d51c1654e19b6172d6588d7d65115a 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
@@ -786,6 +786,7 @@ bool CSSPrimitiveValue::equals(const CSSPrimitiveValue& other) const |
case UnitType::Unknown: |
return false; |
case UnitType::Number: |
+ case UnitType::Integer: |
case UnitType::Percentage: |
case UnitType::Ems: |
case UnitType::Exs: |
@@ -817,7 +818,6 @@ bool CSSPrimitiveValue::equals(const CSSPrimitiveValue& other) const |
return m_value.valueID == other.m_value.valueID; |
case UnitType::Calc: |
return m_value.calc && other.m_value.calc && m_value.calc->equals(*other.m_value.calc); |
- case UnitType::Integer: |
case UnitType::Chs: |
case UnitType::CalcPercentageWithNumber: |
case UnitType::CalcPercentageWithLength: |