| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 1050228dee1659bd0fd76ba0c1d70ea1fffa3cd8..7a16e1f0a6e88256db84c81a8351a2017a317ffb 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -1015,7 +1015,7 @@ bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Ele
|
| return true;
|
| }
|
|
|
| -const StyleRuleKeyframes* StyleResolver::findKeyframesRule(const Element* element, const AtomicString& animationName)
|
| +PassRefPtrWillBeRawPtr<StyleRuleKeyframes> StyleResolver::findKeyframesRule(const Element* element, const AtomicString& animationName)
|
| {
|
| WillBeHeapVector<RawPtrWillBeMember<ScopedStyleResolver>, 8> resolvers;
|
| collectScopedResolversForHostedShadowTrees(element, resolvers);
|
| @@ -1023,7 +1023,7 @@ const StyleRuleKeyframes* StyleResolver::findKeyframesRule(const Element* elemen
|
| resolvers.append(scopedResolver);
|
|
|
| for (size_t i = 0; i < resolvers.size(); ++i) {
|
| - if (const StyleRuleKeyframes* keyframesRule = resolvers[i]->keyframeStylesForAnimation(animationName.impl()))
|
| + if (RefPtrWillBeRawPtr<StyleRuleKeyframes> keyframesRule = resolvers[i]->keyframeStylesForAnimation(animationName.impl()))
|
| return keyframesRule;
|
| }
|
| return nullptr;
|
|
|