| Index: cc/trees/thread_proxy.cc
|
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
|
| index 3cc54e64b5524c134e4f3232982201e5925e1b1b..0ce230b9da54cad15177e0a5a3e93ce2fbbf433e 100644
|
| --- a/cc/trees/thread_proxy.cc
|
| +++ b/cc/trees/thread_proxy.cc
|
| @@ -268,6 +268,9 @@ void ThreadProxy::SetNeedsAnimate() {
|
| TRACE_EVENT0("cc", "ThreadProxy::SetNeedsAnimate");
|
| animate_requested_ = true;
|
|
|
| + Proxy::ImplThread()->PostTask(base::Bind(
|
| + &ThreadProxy::SetAnimateRequestedOnImplThread, impl_thread_weak_ptr_));
|
| +
|
| if (commit_request_sent_to_impl_thread_)
|
| return;
|
| commit_request_sent_to_impl_thread_ = true;
|
| @@ -367,6 +370,12 @@ void ThreadProxy::SetNeedsCommitOnImplThread() {
|
| scheduler_on_impl_thread_->SetNeedsCommit();
|
| }
|
|
|
| +void ThreadProxy::SetAnimateRequestedOnImplThread() {
|
| + DCHECK(IsImplThread());
|
| + TRACE_EVENT0("cc", "ThreadProxy::SetAnimateRequestedOnImplThread");
|
| + scheduler_on_impl_thread_->SetAnimateRequested();
|
| +}
|
| +
|
| void ThreadProxy::SetNeedsManageTilesOnImplThread() {
|
| if (manage_tiles_pending_)
|
| return;
|
|
|