| Index: content/renderer/gpu/compositor_output_surface.cc
|
| diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
|
| index ae3f5142ba87611dcc38c75631888ca805005af1..4a46925bb001a76a1ce0030a87119f11e745b977 100644
|
| --- a/content/renderer/gpu/compositor_output_surface.cc
|
| +++ b/content/renderer/gpu/compositor_output_surface.cc
|
| @@ -83,10 +83,11 @@ bool CompositorOutputSurface::BindToClient(
|
| void CompositorOutputSurface::DetachFromClient() {
|
| if (!HasClient())
|
| return;
|
| - if (output_surface_proxy_.get())
|
| + if (output_surface_proxy_) {
|
| output_surface_proxy_->ClearOutputSurface();
|
| - output_surface_filter_->RemoveHandlerOnCompositorThread(
|
| - routing_id_, output_surface_filter_handler_);
|
| + output_surface_filter_->RemoveHandlerOnCompositorThread(
|
| + routing_id_, output_surface_filter_handler_);
|
| + }
|
| cc::OutputSurface::DetachFromClient();
|
| }
|
|
|
|
|