Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 4a95140226db8fd2c72da44e632ebdd880bf1f5e..926884cba9c4fd3dc2ed40eb1d5102a0ea81f81b 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -1235,7 +1235,7 @@ void ThreadProxy::FinishGLOnImplThread(CompletionEvent* completion) { |
TRACE_EVENT0("cc", "ThreadProxy::FinishGLOnImplThread"); |
DCHECK(IsImplThread()); |
if (impl().layer_tree_host_impl->output_surface()) { |
- ContextProvider* context_provider = |
+ scoped_refptr<ContextProvider> context_provider = |
danakj
2014/08/25 20:25:01
can you just use .get() here? there's no need to t
dcheng
2014/08/25 20:56:58
Done (this was converted for the same reason).
|
impl().layer_tree_host_impl->output_surface()->context_provider(); |
if (context_provider) |
context_provider->ContextGL()->Finish(); |