| Index: cc/test/layer_tree_test.cc
|
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
|
| index 2666c8c534a9a305300ba7017789a32b5ae8b34e..b17c1e5f5855ab3112b79e167c8df4dbc987c842 100644
|
| --- a/cc/test/layer_tree_test.cc
|
| +++ b/cc/test/layer_tree_test.cc
|
| @@ -210,10 +210,17 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| }
|
|
|
| void NotifyReadyToActivate() override {
|
| - if (block_notify_ready_to_activate_for_testing_)
|
| + if (block_notify_ready_to_activate_for_testing_) {
|
| notify_ready_to_activate_was_blocked_ = true;
|
| - else
|
| + } else {
|
| client_->NotifyReadyToActivate();
|
| + test_hooks_->NotifyReadyToActivateOnThread(this);
|
| + }
|
| + }
|
| +
|
| + void NotifyReadyToDraw() override {
|
| + client_->NotifyReadyToDraw();
|
| + test_hooks_->NotifyReadyToDrawOnThread(this);
|
| }
|
|
|
| void BlockNotifyReadyToActivateForTesting(bool block) override {
|
|
|