| Index: cc/trees/proxy_impl.cc
|
| diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
|
| index 603f9732cce7f64bb74e001333f8edab280d1e11..60c8c71d353a36f6342c354562e634ca8730de6d 100644
|
| --- a/cc/trees/proxy_impl.cc
|
| +++ b/cc/trees/proxy_impl.cc
|
| @@ -115,6 +115,10 @@ ProxyImpl::~ProxyImpl() {
|
| DCHECK(IsImplThread());
|
| DCHECK(IsMainThreadBlocked());
|
|
|
| + // Take away the OutputSurface before destroying things so it doesn't try
|
| + // to call into its client mid-shutdown.
|
| + layer_tree_host_impl_->ReleaseOutputSurface();
|
| +
|
| scheduler_ = nullptr;
|
| external_begin_frame_source_ = nullptr;
|
| unthrottled_begin_frame_source_ = nullptr;
|
|
|