| Index: cc/surfaces/surface_aggregator.cc
|
| diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
|
| index 9456dd29c4be152ec529a03888e9ec1ef562af9d..15f4b538cea9b28b7ffbd705c2e7b2e22f0b36e1 100644
|
| --- a/cc/surfaces/surface_aggregator.cc
|
| +++ b/cc/surfaces/surface_aggregator.cc
|
| @@ -433,6 +433,10 @@ void SurfaceAggregator::RemoveUnreferencedChildren() {
|
| provider_->DestroyChild(it->second);
|
| surface_id_to_resource_child_id_.erase(it);
|
| }
|
| +
|
| + Surface* surface_ptr = manager_->GetSurfaceForId(surface.first);
|
| + if (surface_ptr)
|
| + surface_ptr->RunDrawCallbacks(SurfaceDrawStatus::DRAW_SKIPPED);
|
| }
|
| }
|
| }
|
|
|