| Index: sky/engine/core/animation/css/CSSAnimations.cpp
|
| diff --git a/sky/engine/core/animation/css/CSSAnimations.cpp b/sky/engine/core/animation/css/CSSAnimations.cpp
|
| index 1d5424716440eabc4168ae5a5c6dc32144daf74e..997f5bb2d3e5880ec9ad1d118b4bb05ffc1c13a8 100644
|
| --- a/sky/engine/core/animation/css/CSSAnimations.cpp
|
| +++ b/sky/engine/core/animation/css/CSSAnimations.cpp
|
| @@ -196,9 +196,6 @@ static void resolveKeyframes(StyleResolver* resolver, Element* element, const El
|
| const StyleRuleKeyframes* CSSAnimations::matchScopedKeyframesRule(StyleResolver* resolver, const Element* element, const StringImpl* animationName)
|
| {
|
| // FIXME: This is all implementation detail of style resolver, CSSAnimations shouldn't be reaching into any of it.
|
| - if (resolver->document().styleEngine()->hasOnlyScopedResolverForDocument())
|
| - return element->document().scopedStyleResolver()->keyframeStylesForAnimation(animationName);
|
| -
|
| Vector<RawPtr<ScopedStyleResolver>, 8> stack;
|
| resolver->styleTreeResolveScopedKeyframesRules(element, stack);
|
| if (stack.isEmpty())
|
|
|