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

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

Issue 2872883002: Rename EvictFrame, EvictSurface to EvictCurrentSurface (Closed)
Patch Set: Rebase 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 683374f88fb8d274251ba6c850d96b65325723fb..81acb033feac9d9e22793a384d1266586768d906 100644
--- a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
@@ -36,8 +36,8 @@ GpuCompositorFrameSink::GpuCompositorFrameSink(
GpuCompositorFrameSink::~GpuCompositorFrameSink() {}
-void GpuCompositorFrameSink::EvictFrame() {
- support_->EvictFrame();
+void GpuCompositorFrameSink::EvictCurrentSurface() {
+ support_->EvictCurrentSurface();
}
void GpuCompositorFrameSink::SetNeedsBeginFrame(bool 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