| Index: Source/core/animation/KeyframeEffectModel.cpp
|
| diff --git a/Source/core/animation/KeyframeEffectModel.cpp b/Source/core/animation/KeyframeEffectModel.cpp
|
| index b39b5de1dcc5eeb96b1e7f79d761ab151c63cc29..91e8b47c655acc0ddf27db0cddda0d3831307462 100644
|
| --- a/Source/core/animation/KeyframeEffectModel.cpp
|
| +++ b/Source/core/animation/KeyframeEffectModel.cpp
|
| @@ -83,7 +83,7 @@ void KeyframeEffectModelBase::forceConversionsToAnimatableValues(Element& elemen
|
| void KeyframeEffectModelBase::snapshotCompositableProperties(Element& element, const ComputedStyle* baseStyle)
|
| {
|
| ensureKeyframeGroups();
|
| - for (CSSPropertyID id : CompositorAnimations::CompositableProperties) {
|
| + for (CSSPropertyID id : CompositorAnimations::compositableProperties) {
|
| PropertyHandle property = PropertyHandle(id);
|
| if (!affects(property))
|
| continue;
|
| @@ -154,6 +154,13 @@ KeyframeEffectModelBase::KeyframeVector KeyframeEffectModelBase::normalizedKeyfr
|
| return result;
|
| }
|
|
|
| +bool KeyframeEffectModelBase::isTransformRelatedEffect() const
|
| +{
|
| + return affects(PropertyHandle(CSSPropertyTransform))
|
| + || affects(PropertyHandle(CSSPropertyRotate))
|
| + || affects(PropertyHandle(CSSPropertyScale))
|
| + || affects(PropertyHandle(CSSPropertyTranslate));
|
| +}
|
|
|
| void KeyframeEffectModelBase::ensureKeyframeGroups() const
|
| {
|
|
|