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

Unified Diff: cc/surfaces/surface_synchronization_unittest.cc

Issue 2897673002: Return resources immediately after a Surface is destroyed (Closed)
Patch Set: Check aggregator_ Created 3 years, 7 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
« no previous file with comments | « cc/surfaces/surface_observer.h ('k') | components/viz/frame_sinks/mojo_frame_sink_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_synchronization_unittest.cc
diff --git a/cc/surfaces/surface_synchronization_unittest.cc b/cc/surfaces/surface_synchronization_unittest.cc
index 473e5876f2e33d76de3f09df814f448b58f41fe1..f691c4ed3fa7e9a987c86a1d3ff06047d99edd2e 100644
--- a/cc/surfaces/surface_synchronization_unittest.cc
+++ b/cc/surfaces/surface_synchronization_unittest.cc
@@ -155,6 +155,7 @@ class SurfaceSynchronizationTest : public testing::Test,
void OnSurfaceDamaged(const SurfaceId& surface_id, bool* changed) override {
damaged_surfaces_.insert(surface_id);
}
+ void OnSurfaceDiscarded(const SurfaceId& surface_id) override {}
protected:
testing::NiceMock<MockCompositorFrameSinkSupportClient> support_client_;
« no previous file with comments | « cc/surfaces/surface_observer.h ('k') | components/viz/frame_sinks/mojo_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698