Index: cc/surfaces/surface.cc |
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc |
index be2332bf73d85d7396e4ae4660474fbcb371d449..2ceae59329081c2295c5aadac3d04fb171d0742e 100644 |
--- a/cc/surfaces/surface.cc |
+++ b/cc/surfaces/surface.cc |
@@ -82,11 +82,6 @@ void Surface::QueueFrame(CompositorFrame frame, |
UnrefFrameResourcesAndRunDrawCallback(std::move(previous_pending_frame_data)); |
} |
-void Surface::EvictFrame() { |
- QueueFrame(CompositorFrame(), DrawCallback(), WillDrawCallback()); |
- active_frame_data_.reset(); |
-} |
- |
void Surface::RequestCopyOfOutput( |
std::unique_ptr<CopyOutputRequest> copy_request) { |
if (!active_frame_data_ || |