Index: Source/core/animation/css/CSSAnimations.cpp |
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp |
index 7ef17650d7e287147efd9aa61ef85e1ff87f13c9..7dc1628605b7bff41b52f0ec20a663bacfa985dc 100644 |
--- a/Source/core/animation/css/CSSAnimations.cpp |
+++ b/Source/core/animation/css/CSSAnimations.cpp |
@@ -201,7 +201,7 @@ static void resolveKeyframes(StyleResolver* resolver, const Element* animatingEl |
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. |
rune
2014/09/24 08:16:20
Fixing this FIXME would make more sense.
Timothy Loh
2014/09/24 08:20:10
I think esprehn has a patch up for this somewhere.
esprehn
2014/09/24 08:39:33
Yeah we can do that in a separate patch.
|
- if (resolver->document().styleEngine()->hasOnlyScopedResolverForDocument()) |
+ if (element->document().styleEngine()->hasOnlyScopedResolverForDocument()) |
return element->document().scopedStyleResolver()->keyframeStylesForAnimation(animationName); |
WillBeHeapVector<RawPtrWillBeMember<ScopedStyleResolver>, 8> stack; |