| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 791c2bdd1cad423b28347ad35ffb020f816ae303..4a0dad4cd6085daa863cbc10d2f1f4e0a30da9e6 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -1038,7 +1038,7 @@ void StyleResolver::resolveScopedStyles(const Element* element, WillBeHeapVector
|
| resolvers.append(scopedResolver);
|
| }
|
|
|
| -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);
|
| @@ -1046,7 +1046,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;
|
|
|