Index: ui/compositor/test/in_process_context_factory.cc |
diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc |
index f680e991991c8f80bc61ed975c30bab6a82b3831..fa2380fc242a7f9c2e188ecc5a4e0137358c9f70 100644 |
--- a/ui/compositor/test/in_process_context_factory.cc |
+++ b/ui/compositor/test/in_process_context_factory.cc |
@@ -73,7 +73,7 @@ void InProcessContextFactory::RemoveReflector( |
scoped_refptr<cc::ContextProvider> |
InProcessContextFactory::SharedMainThreadContextProvider() { |
- if (shared_main_thread_contexts_ && |
+ if (shared_main_thread_contexts_.get() && |
!shared_main_thread_contexts_->DestroyedOnMainThread()) |
return shared_main_thread_contexts_; |
@@ -81,7 +81,7 @@ InProcessContextFactory::SharedMainThreadContextProvider() { |
shared_main_thread_contexts_ = |
webkit::gpu::ContextProviderInProcess::CreateOffscreen( |
lose_context_when_out_of_memory); |
- if (shared_main_thread_contexts_ && |
+ if (shared_main_thread_contexts_.get() && |
!shared_main_thread_contexts_->BindToCurrentThread()) |
shared_main_thread_contexts_ = NULL; |
@@ -99,7 +99,7 @@ cc::SharedBitmapManager* InProcessContextFactory::GetSharedBitmapManager() { |
base::MessageLoopProxy* InProcessContextFactory::GetCompositorMessageLoop() { |
if (!compositor_thread_) |
return NULL; |
- return compositor_thread_->message_loop_proxy(); |
+ return compositor_thread_->message_loop_proxy().get(); |
danakj
2014/08/25 18:50:48
If I understood your question right, I agree this
|
} |
} // namespace ui |