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

Unified Diff: components/viz/frame_sinks/gpu_compositor_frame_sink.cc

Issue 2915483003: Remove MojoCompositorFrameSink::EvictCurrentSurface (Closed)
Patch Set: Fix FrameGenerator unit test 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
Index: components/viz/frame_sinks/gpu_compositor_frame_sink.cc
diff --git a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
index a2b6007c19c981ba98f06d3cd1ae61c4e9368e89..bcb244128ea998cff3b045bfb4f2f5828305edf0 100644
--- a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
@@ -34,11 +34,7 @@ GpuCompositorFrameSink::GpuCompositorFrameSink(
base::Unretained(this)));
}
-GpuCompositorFrameSink::~GpuCompositorFrameSink() {}
-
-void GpuCompositorFrameSink::EvictCurrentSurface() {
- support_->EvictCurrentSurface();
-}
+GpuCompositorFrameSink::~GpuCompositorFrameSink() = default;
void GpuCompositorFrameSink::SetNeedsBeginFrame(bool needs_begin_frame) {
support_->SetNeedsBeginFrame(needs_begin_frame);
« no previous file with comments | « components/viz/frame_sinks/gpu_compositor_frame_sink.h ('k') | components/viz/frame_sinks/gpu_root_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698