Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index b6487411f16aff54915af9a9249ac5aec8f7af6a..8db99011cf6c7ce443b66373ca01f740c239d2bd 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -64,10 +64,6 @@ class CC_SURFACES_EXPORT SurfaceFactory { |
const DrawCallback& callback); |
void RequestCopyOfSurface(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(); |
- |
void WillDrawSurface(const LocalFrameId& id, const gfx::Rect& damage_rect); |
SurfaceFactoryClient* client() { return client_; } |