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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura_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 | « components/viz/frame_sinks/mojo_frame_sink_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
index c8af7c661bcb94e34bf37b77f6fa803e15ca25fb..983c77d1c9782cdacf11c7548ef19c4b11cf20b4 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
@@ -290,6 +290,8 @@ class FakeSurfaceObserver : public cc::SurfaceObserver {
void OnSurfaceDamaged(const cc::SurfaceId& id, bool* changed) override {
*changed = true;
}
+
+ void OnSurfaceDiscarded(const cc::SurfaceId& id) override {}
};
class FakeFrameSubscriber : public RenderWidgetHostViewFrameSubscriber {
« no previous file with comments | « components/viz/frame_sinks/mojo_frame_sink_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698