Chromium Code Reviews| Index: Source/core/css/CSSPrimitiveValue.h |
| diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h |
| index 76846ab687dc2594d74dc633f276f7ae97ceb738..944c3ee52a4cf628665de8dcc0473eac1f48d634 100644 |
| --- a/Source/core/css/CSSPrimitiveValue.h |
| +++ b/Source/core/css/CSSPrimitiveValue.h |
| @@ -285,6 +285,8 @@ public: |
| return getValue<T>(); |
| if (timeUnit == Milliseconds && m_primitiveUnitType == CSS_S) |
| return getValue<T>() * 1000; |
| + if (m_primitiveUnitType == CSS_CALC) |
| + return getValue<T>(); |
|
alancutter (OOO until 2018)
2014/07/02 05:56:11
This should be returning a value relative to timeU
Timothy Loh
2014/07/02 07:06:13
Alternatively we can just simplify this function t
|
| ASSERT_NOT_REACHED(); |
| return 0; |
| } |