| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 6b4eaaf96176859afddd7c97474e4519db5b7546..854cf317e36d5e84bd21cfd8b9e1524bdfe4b85a 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -184,7 +184,7 @@ public:
|
|
|
| bool consumeNumberRaw(double& result)
|
| {
|
| - if (!m_calcValue)
|
| + if (!m_calcValue || m_calcValue->category() != CalcNumber)
|
| return false;
|
| m_sourceRange = m_range;
|
| result = m_calcValue->doubleValue();
|
|
|