| 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 37311c6aacf52d319aca662c4677371bbda0e629..ac39982102a98e49bd7059718478efec12e50992 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
| @@ -158,13 +158,12 @@ void CSSLengthInterpolationType::applyStandardPropertyValue(
|
| StyleBuilder::applyProperty(cssProperty(), state,
|
| *CSSValue::create(length, zoom));
|
| DCHECK(LengthPropertyFunctions::getLength(cssProperty(), style, after));
|
| - DCHECK_EQ(before.type(), after.type());
|
| - if (before.isSpecified()) {
|
| - const float kSlack = 0.1;
|
| - float delta =
|
| - floatValueForLength(after, 100) - floatValueForLength(before, 100);
|
| - DCHECK_LT(std::abs(delta), kSlack);
|
| - }
|
| + DCHECK(before.isSpecified());
|
| + DCHECK(after.isSpecified());
|
| + const float kSlack = 0.1;
|
| + float delta =
|
| + floatValueForLength(after, 100) - floatValueForLength(before, 100);
|
| + DCHECK_LT(std::abs(delta), kSlack);
|
| #endif
|
| return;
|
| }
|
|
|