Chromium Code Reviews| Index: cc/trees/thread_proxy.cc |
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
| index ef49ff85d4d4081c011fe32c50a5ae0889458775..f19c211ec230e790b2204e23fd684a79201c6279 100644 |
| --- a/cc/trees/thread_proxy.cc |
| +++ b/cc/trees/thread_proxy.cc |
| @@ -608,24 +608,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(); |
|
danakj
2015/09/21 19:48:33
https://code.google.com/p/chromium/codesearch#chro
|
| - completion->Signal(); |
| -} |
| - |
| bool ThreadProxy::SupportsImplScrolling() const { |
| return true; |
| } |