| Index: cc/surfaces/surface_factory.cc
|
| diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
|
| index 880cb8c828a675fe85cd426bfb9caa05355e6cbc..b13d8f86721f0688da3dd8cfdce0903ce6b86cd0 100644
|
| --- a/cc/surfaces/surface_factory.cc
|
| +++ b/cc/surfaces/surface_factory.cc
|
| @@ -105,6 +105,11 @@ void SurfaceFactory::UnrefResources(const ReturnedResourceArray& resources) {
|
| holder_.UnrefResources(resources);
|
| }
|
|
|
| +void SurfaceFactory::RunDrawCallbacks() {
|
| + if (current_surface_)
|
| + current_surface_->RunDrawCallbacks();
|
| +}
|
| +
|
| void SurfaceFactory::OnReferencedSurfacesChanged(
|
| Surface* surface,
|
| const std::vector<SurfaceId>* active_referenced_surfaces,
|
|
|