| Index: cc/surfaces/surface_factory.h
|
| diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
|
| index 3a6431596bc9cc470e8ef4fdbae1520988543e14..d79d237eb579146f790b0c14709a004f3aaeefd7 100644
|
| --- a/cc/surfaces/surface_factory.h
|
| +++ b/cc/surfaces/surface_factory.h
|
| @@ -71,6 +71,10 @@ class CC_SURFACES_EXPORT SurfaceFactory {
|
| void RequestCopyOfSurface(const LocalFrameId& local_frame_id,
|
| std::unique_ptr<CopyOutputRequest> copy_request);
|
|
|
| + // Evicts the current frame on the surface. All the resources
|
| + // will be released and Surface::HasFrame will return false.
|
| + void ClearSurface(const LocalFrameId& local_frame_id);
|
| +
|
| void WillDrawSurface(const LocalFrameId& id, const gfx::Rect& damage_rect);
|
|
|
| SurfaceFactoryClient* client() { return client_; }
|
|
|