| Index: cc/trees/thread_proxy.cc
|
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
|
| index fd63a8f6d4ee4a7868bbc59dbcacd25512022c8e..f7020af1d5f00957162c02728ef26ae6e3266bde 100644
|
| --- a/cc/trees/thread_proxy.cc
|
| +++ b/cc/trees/thread_proxy.cc
|
| @@ -435,9 +435,18 @@ void ThreadProxy::CheckOutputSurfaceStatusOnImplThread() {
|
| impl().scheduler->DidLoseOutputSurface();
|
| }
|
|
|
| +void ThreadProxy::SetMaxSwapsPending(int max) {
|
| + impl().scheduler->SetMaxSwapsPending(max);
|
| +}
|
| +
|
| +void ThreadProxy::DidSwapBuffersOnImplThread() {
|
| + impl().scheduler->DidSwapBuffers();
|
| +}
|
| +
|
| void ThreadProxy::OnSwapBuffersCompleteOnImplThread() {
|
| TRACE_EVENT0("cc", "ThreadProxy::OnSwapBuffersCompleteOnImplThread");
|
| DCHECK(IsImplThread());
|
| + impl().scheduler->OnSwapBuffersComplete();
|
| Proxy::MainThreadTaskRunner()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&ThreadProxy::DidCompleteSwapBuffers, main_thread_weak_ptr_));
|
|
|