| Index: cc/trees/layer_tree_host_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
|
| index 66deed96287654e248195ad9362adc894913c510..4b175575b6777e349d95445cd6c11cb4e0d51a54 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -750,6 +750,14 @@ class LayerTreeHostTestFrameTimeUpdatesAfterActivationFails
|
| }
|
|
|
| virtual bool CanActivatePendingTree(LayerTreeHostImpl* impl) OVERRIDE {
|
| + if (frame_ >= 1)
|
| + return true;
|
| +
|
| + return false;
|
| + }
|
| +
|
| + virtual bool CanActivatePendingTreeIfNeeded(LayerTreeHostImpl* impl)
|
| + OVERRIDE {
|
| frame_++;
|
| if (frame_ == 1) {
|
| first_frame_time_ = impl->CurrentFrameTimeTicks();
|
|
|