| Index: cc/test/layer_tree_test.cc
|
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
|
| index 95ee7b2e06ed0de6a0bb6940ba8131c7b153f658..7458048554218e8282ba2c2db8eed7d223ddf4a3 100644
|
| --- a/cc/test/layer_tree_test.cc
|
| +++ b/cc/test/layer_tree_test.cc
|
| @@ -38,7 +38,7 @@ bool TestHooks::PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
|
| return true;
|
| }
|
|
|
| -bool TestHooks::CanActivatePendingTree() {
|
| +bool TestHooks::CanActivatePendingTree(LayerTreeHostImpl* host_impl) {
|
| return true;
|
| }
|
|
|
| @@ -113,7 +113,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| if (!pending_tree())
|
| return false;
|
|
|
| - if (!test_hooks_->CanActivatePendingTree())
|
| + if (!test_hooks_->CanActivatePendingTree(this))
|
| return false;
|
|
|
| bool activated = LayerTreeHostImpl::ActivatePendingTreeIfNeeded();
|
|
|