Index: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
index 9569be47afe786ef7e81aefb6cbf7f2de367eb62..b38de39e7ebba95fce91d9d9fcb4235e929f60bc 100644 |
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
@@ -543,6 +543,9 @@ void CSSAnimations::calculateTransitionUpdate(CSSAnimationUpdate& update, const |
if (!animatingElement) |
return; |
+ if (animatingElement->document().printing() || animatingElement->document().wasPrinting()) |
+ return; |
+ |
ElementAnimations* elementAnimations = animatingElement->elementAnimations(); |
const TransitionMap* activeTransitions = elementAnimations ? &elementAnimations->cssAnimations().m_transitions : nullptr; |
const CSSTransitionData* transitionData = style.transitions(); |