Index: Source/web/LinkHighlightImpl.cpp |
diff --git a/Source/web/LinkHighlightImpl.cpp b/Source/web/LinkHighlightImpl.cpp |
index eed4c60363cf0e03931dc2c1b495271e26c8e2ba..1305fbc5a1d701e9f48723420ab592232b94b642 100644 |
--- a/Source/web/LinkHighlightImpl.cpp |
+++ b/Source/web/LinkHighlightImpl.cpp |
@@ -82,7 +82,7 @@ LinkHighlightImpl::LinkHighlightImpl(Node* node, WebViewImpl* owningWebViewImpl) |
m_clipLayer = adoptPtr(compositorSupport->createLayer()); |
m_clipLayer->setTransformOrigin(WebFloatPoint3D()); |
m_clipLayer->addChild(m_contentLayer->layer()); |
- if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled()) { |
+ if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && Platform::current()->isThreadedAnimationEnabled()) { |
m_compositorPlayer = adoptPtr(compositorSupport->createAnimationPlayer()); |
ASSERT(m_compositorPlayer); |
m_compositorPlayer->setAnimationDelegate(this); |