Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index ada9f62818f3ec4ab276f8f0e3d05647a38aa019..67b90d34bce5e301c130635d50d4fa46e0c24e9c 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) |
+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 (StyleRuleKeyframes* keyframesRule = resolvers[i]->keyframeStylesForAnimation(animationName.impl())) |
return keyframesRule; |
} |
return nullptr; |