| Index: cc/surfaces/surface_factory.cc
|
| diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
|
| index 7af7cb7dc6312ceef566a6b8b38613941883627a..aead4f68201830655340b3ee3507d9f9ed7b229a 100644
|
| --- a/cc/surfaces/surface_factory.cc
|
| +++ b/cc/surfaces/surface_factory.cc
|
| @@ -51,7 +51,8 @@ void SurfaceFactory::SubmitFrame(SurfaceId surface_id,
|
| DCHECK(it != surface_map_.end());
|
| DCHECK(it->second->factory().get() == this);
|
| it->second->QueueFrame(frame.Pass(), callback);
|
| - manager_->SurfaceModified(surface_id);
|
| + if (!manager_->SurfaceModified(surface_id))
|
| + it->second->RunDrawCallbacks(SurfaceDrawStatus::DRAW_SKIPPED);
|
| }
|
|
|
| void SurfaceFactory::RequestCopyOfSurface(
|
|
|