diff options
Diffstat (limited to 'content/renderer/gpu/compositor_output_surface.cc')
-rw-r--r-- | content/renderer/gpu/compositor_output_surface.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc index 16d6ad0..55af865 100644 --- a/content/renderer/gpu/compositor_output_surface.cc +++ b/content/renderer/gpu/compositor_output_surface.cc @@ -58,13 +58,13 @@ CompositorOutputSurface::CompositorOutputSurface( routing_id_(routing_id), prefers_smoothness_(false), main_thread_handle_(base::PlatformThread::CurrentHandle()) { - DCHECK(output_surface_filter_); + DCHECK(output_surface_filter_.get()); CommandLine* command_line = CommandLine::ForCurrentProcess(); capabilities_.has_parent_compositor = command_line->HasSwitch( switches::kEnableDelegatedRenderer); DetachFromThread(); message_sender_ = RenderThreadImpl::current()->sync_message_filter(); - DCHECK(message_sender_); + DCHECK(message_sender_.get()); } CompositorOutputSurface::~CompositorOutputSurface() { @@ -72,7 +72,7 @@ CompositorOutputSurface::~CompositorOutputSurface() { if (!client_) return; UpdateSmoothnessTakesPriority(false); - if (output_surface_proxy_) + if (output_surface_proxy_.get()) output_surface_proxy_->ClearOutputSurface(); output_surface_filter_->RemoveRoute(routing_id_); } |