Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: cc/surfaces/surface.cc

Issue 2822143003: Remove ForceReclaimResources (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/surfaces/surface.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index 80d5a7ab32587d9b62b8c34e0e91c51ba4d1c394..249b211515996bb2fb2d5d57ae1dd0b8ef0de2ef 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -79,11 +79,6 @@ void Surface::QueueFrame(CompositorFrame frame, const DrawCallback& callback) {
UnrefFrameResourcesAndRunDrawCallback(std::move(previous_pending_frame_data));
}
-void Surface::EvictFrame() {
- QueueFrame(CompositorFrame(), DrawCallback());
- active_frame_data_.reset();
-}
-
void Surface::RequestCopyOfOutput(
std::unique_ptr<CopyOutputRequest> copy_request) {
if (!active_frame_data_ ||

Powered by Google App Engine
This is Rietveld 408576698