| Index: cc/trees/thread_proxy.cc
|
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
|
| index ae543a3e207deae1015580ce5e0d09d84f6aed96..df9d560ac6f09f549a83faffc8d4e359a3d0ead8 100644
|
| --- a/cc/trees/thread_proxy.cc
|
| +++ b/cc/trees/thread_proxy.cc
|
| @@ -623,24 +623,6 @@ void ThreadProxy::Stop() {
|
| main().started = false;
|
| }
|
|
|
| -void ThreadProxy::ForceSerializeOnSwapBuffers() {
|
| - DebugScopedSetMainThreadBlocked main_thread_blocked(this);
|
| - CompletionEvent completion;
|
| - Proxy::ImplThreadTaskRunner()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&ThreadProxy::ForceSerializeOnSwapBuffersOnImplThread,
|
| - impl_thread_weak_ptr_,
|
| - &completion));
|
| - completion.Wait();
|
| -}
|
| -
|
| -void ThreadProxy::ForceSerializeOnSwapBuffersOnImplThread(
|
| - CompletionEvent* completion) {
|
| - if (impl().layer_tree_host_impl->renderer())
|
| - impl().layer_tree_host_impl->renderer()->DoNoOp();
|
| - completion->Signal();
|
| -}
|
| -
|
| bool ThreadProxy::SupportsImplScrolling() const {
|
| return true;
|
| }
|
|
|