| Index: cc/layer.cc
|
| diff --git a/cc/layer.cc b/cc/layer.cc
|
| index 88390a012beb4165db34380a4478f47f2f4f5a56..8164ee93c057edecc9b7f7298916d37fabfeb0ea 100644
|
| --- a/cc/layer.cc
|
| +++ b/cc/layer.cc
|
| @@ -9,7 +9,6 @@
|
| #include "cc/layer_animation_controller.h"
|
| #include "cc/layer_impl.h"
|
| #include "cc/layer_tree_host.h"
|
| -#include "cc/settings.h"
|
| #include "third_party/skia/include/core/SkImageFilter.h"
|
| #include "ui/gfx/rect_conversions.h"
|
| #include <public/WebAnimationDelegate.h>
|
| @@ -768,7 +767,7 @@ bool Layer::addAnimation(scoped_ptr <ActiveAnimation> animation)
|
| if (!m_layerTreeHost)
|
| return false;
|
|
|
| - if (!Settings::acceleratedAnimationEnabled())
|
| + if (!m_layerTreeHost->settings().acceleratedAnimationEnabled)
|
| return false;
|
|
|
| m_layerAnimationController->addAnimation(animation.Pass());
|
|
|