Index: third_party/WebKit/Source/core/css/CSSValuePool.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.cpp b/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
index 97723864efb0c0832308eed2f255627815ce9048..58bdbe0129766e8cafa7c7ce61cdb076b719fe29 100644 |
--- a/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSValuePool.cpp |
@@ -113,8 +113,9 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value |
m_percentValueCache[intValue] = CSSPrimitiveValue::create(value, type); |
return m_percentValueCache[intValue]; |
case CSSPrimitiveValue::UnitType::Number: |
+ case CSSPrimitiveValue::UnitType::Integer: |
Timothy Loh
2015/10/29 02:38:05
This bit seems a bit weird, but I think it's okay
|
if (!m_numberValueCache[intValue]) |
- m_numberValueCache[intValue] = CSSPrimitiveValue::create(value, type); |
+ m_numberValueCache[intValue] = CSSPrimitiveValue::create(value, CSSPrimitiveValue::UnitType::Integer); |
return m_numberValueCache[intValue]; |
default: |
return CSSPrimitiveValue::create(value, type); |