Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
| diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
| index 7d79676668c367e86a1bb09d6768b98b6ca103bd..ebb2ac6f80ccccd121ae1c22fd4eb73229c5ac0e 100644 |
| --- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
| +++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
| @@ -158,7 +158,7 @@ void CSSLengthInterpolationType::applyStandardPropertyValue( |
| StyleBuilder::applyProperty(cssProperty(), state, |
| *CSSValue::create(length, zoom)); |
| DCHECK(LengthPropertyFunctions::getLength(cssProperty(), style, after)); |
| - DCHECK_EQ(before.type(), after.type()); |
| + DCHECK_EQ(before.isSpecified(), after.isSpecified()); |
|
suzyh_UTC10 (ex-contributor)
2017/02/14 04:38:51
I'm not very familiar with LengthType. I think thi
alancutter (OOO until 2018)
2017/02/14 04:46:12
Good point, added type check back for that case.
|
| if (before.isSpecified()) { |
| const float kSlack = 0.1; |
| float delta = |