| Index: cc/test/layer_tree_test.cc
|
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
|
| index 4933e0089b89abab1e0b25cf371a8edb4bdb7ae3..9afe3c4f8cf8e0d1b5e0d2644d50efdbc173f97a 100644
|
| --- a/cc/test/layer_tree_test.cc
|
| +++ b/cc/test/layer_tree_test.cc
|
| @@ -37,6 +37,10 @@ bool TestHooks::PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
|
| return true;
|
| }
|
|
|
| +base::TimeDelta TestHooks::LowFrequencyAnimationInterval() const {
|
| + return base::TimeDelta::FromMilliseconds(16);
|
| +}
|
| +
|
| // Adapts LayerTreeHostImpl for test. Runs real code, then invokes test hooks.
|
| class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| public:
|
| @@ -169,7 +173,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| }
|
|
|
| virtual base::TimeDelta LowFrequencyAnimationInterval() const OVERRIDE {
|
| - return base::TimeDelta::FromMilliseconds(16);
|
| + return test_hooks_->LowFrequencyAnimationInterval();
|
| }
|
|
|
| private:
|
|
|