| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index ee701b30745f2fdc061a0b94ed52c4982767703b..3e44b775d16776e1801fafaa2bdff49c0d735e39 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -688,14 +688,14 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForKeyframe(Element& element, cons
|
|
|
| // This function is used by the WebAnimations JavaScript API method animate().
|
| // FIXME: Remove this when animate() switches away from resolution-dependent parsing.
|
| -PassRefPtrWillBeRawPtr<AnimatableValue> StyleResolver::createAnimatableValueSnapshot(Element& element, const ComputedStyle* baseStyle, CSSPropertyID property, CSSValue* value)
|
| +AnimatableValue* StyleResolver::createAnimatableValueSnapshot(Element& element, const ComputedStyle* baseStyle, CSSPropertyID property, CSSValue* value)
|
| {
|
| StyleResolverState state(element.document(), &element);
|
| state.setStyle(baseStyle ? ComputedStyle::clone(*baseStyle) : ComputedStyle::create());
|
| return createAnimatableValueSnapshot(state, property, value);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<AnimatableValue> StyleResolver::createAnimatableValueSnapshot(StyleResolverState& state, CSSPropertyID property, CSSValue* value)
|
| +AnimatableValue* StyleResolver::createAnimatableValueSnapshot(StyleResolverState& state, CSSPropertyID property, CSSValue* value)
|
| {
|
| if (value) {
|
| StyleBuilder::applyProperty(property, state, value);
|
| @@ -999,7 +999,7 @@ StyleRuleKeyframes* StyleResolver::findKeyframesRule(const Element* element, con
|
| }
|
|
|
| template <CSSPropertyPriority priority>
|
| -void StyleResolver::applyAnimatedProperties(StyleResolverState& state, const WillBeHeapHashMap<PropertyHandle, RefPtrWillBeMember<Interpolation>>& activeInterpolations)
|
| +void StyleResolver::applyAnimatedProperties(StyleResolverState& state, const HeapHashMap<PropertyHandle, Member<Interpolation>>& activeInterpolations)
|
| {
|
| for (const auto& interpolationEntry : activeInterpolations) {
|
| if (!interpolationEntry.key.isCSSProperty())
|
|
|