| Index: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| index 97d0bf45f000bfeb95e81df3908fd38824c823c5..4ce9727643ed50488195d26630145257ada046cd 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| @@ -749,6 +749,10 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property,
|
| TranslateTransformOperation* translate =
|
| toTranslateTransformOperation(animatableValueToTransformOperation(
|
| value, TransformOperation::Translate3D));
|
| + if (!translate) {
|
| + style->setTranslate(nullptr);
|
| + return;
|
| + }
|
| double sourceZoom = toAnimatableTransform(value)->zoom();
|
| double destinationZoom = style->effectiveZoom();
|
| style->setTranslate(
|
|
|