| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index 3d97269513e5003baabdd4a6d9f8eb45cc705921..5095eff4891bf804dd0c31e0e5c8c7d4e0bf2e41 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -90,8 +90,9 @@ LayerTreeHost::LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSetting
|
| , m_backgroundColor(SK_ColorWHITE)
|
| , m_hasTransparentBackground(false)
|
| , m_partialTextureUpdateRequests(0)
|
| - , m_animationRegistrar(AnimationRegistrar::create())
|
| {
|
| + if (m_settings.acceleratedAnimationEnabled)
|
| + m_animationRegistrar = AnimationRegistrar::create();
|
| numLayerTreeInstances++;
|
| }
|
|
|
|
|