| Index: cc/trees/single_thread_proxy.cc
|
| diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
|
| index cc8042eb43bc1b147b067720b4226ce36e2678e1..b6d120b48053a54c3cfbf34b9646b6db407968f8 100644
|
| --- a/cc/trees/single_thread_proxy.cc
|
| +++ b/cc/trees/single_thread_proxy.cc
|
| @@ -290,6 +290,9 @@ void SingleThreadProxy::CommitComplete() {
|
| << "Activation is expected to have synchronously occurred by now.";
|
| DCHECK(commit_blocking_task_runner_);
|
|
|
| + if (scheduler_on_impl_thread_)
|
| + scheduler_on_impl_thread_->DidCommit();
|
| +
|
| // Notify commit complete on the impl side after activate to satisfy any
|
| // SetNextCommitWaitsForActivation calls.
|
| layer_tree_host_impl_->CommitComplete();
|
| @@ -455,6 +458,12 @@ void SingleThreadProxy::DidActivateSyncTree() {
|
| CommitComplete();
|
| }
|
|
|
| +void SingleThreadProxy::WillPrepareTiles() {
|
| + DCHECK(Proxy::IsImplThread());
|
| + if (scheduler_on_impl_thread_)
|
| + scheduler_on_impl_thread_->WillPrepareTiles();
|
| +}
|
| +
|
| void SingleThreadProxy::DidPrepareTiles() {
|
| DCHECK(Proxy::IsImplThread());
|
| if (scheduler_on_impl_thread_)
|
|
|