Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
index 5341004566b9fe48d9347c16ad77cdaf467d5df5..a9fa9a7d84ed749f47c7599e9ba882c786f7a12e 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1235,12 +1235,13 @@ bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, |
CSSAnimations::calculateUpdate(animatingElement, *element, *state.style(), |
state.parentStyle(), state.animationUpdate(), |
this); |
- if (state.animationUpdate().isEmpty()) |
- return false; |
CSSAnimations::snapshotCompositorKeyframes( |
*element, state.animationUpdate(), *state.style(), state.parentStyle()); |
+ if (state.animationUpdate().isEmpty()) |
+ return false; |
+ |
if (state.style()->insideLink() != NotInsideLink) { |
ASSERT(state.applyPropertyToRegularStyle()); |
state.setApplyPropertyToVisitedLinkStyle(true); |