Chromium Code Reviews| Index: cc/trees/thread_proxy.cc |
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
| index 56ce577b9d65110eda1e33f3f53a9992f558aabe..2b26950d11348aa95a17e3d742875e86da362216 100644 |
| --- a/cc/trees/thread_proxy.cc |
| +++ b/cc/trees/thread_proxy.cc |
| @@ -1267,7 +1267,10 @@ void ThreadProxy::FinishGLOnImplThread(CompletionEvent* completion) { |
| TRACE_EVENT0("cc", "ThreadProxy::FinishGLOnImplThread"); |
| DCHECK(IsImplThread()); |
| if (impl().layer_tree_host_impl->resource_provider()) |
| - impl().layer_tree_host_impl->resource_provider()->Finish(); |
| + impl() |
|
danakj
2014/07/09 16:01:33
can we just call Finish() on the GL context direct
sohanjg
2014/07/10 15:11:06
Done.
|
| + .layer_tree_host_impl->resource_provider() |
| + ->GetResourceHelper() |
| + ->Finish(); |
| completion->Signal(); |
| } |