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

Unified Diff: components/viz/frame_sinks/gpu_root_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_root_compositor_frame_sink.cc
diff --git a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
index 5aa6bad8bc7f1f0264a36250f5654a59795e4815..b614fe8811b7dff661545abf62c54a390754023e 100644
--- a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
@@ -75,8 +75,8 @@ void GpuRootCompositorFrameSink::SetLocalSurfaceId(
display_->SetLocalSurfaceId(local_surface_id, scale_factor);
}
-void GpuRootCompositorFrameSink::EvictFrame() {
- support_->EvictFrame();
+void GpuRootCompositorFrameSink::EvictCurrentSurface() {
+ support_->EvictCurrentSurface();
}
void GpuRootCompositorFrameSink::SetNeedsBeginFrame(bool needs_begin_frame) {

Powered by Google App Engine
This is Rietveld 408576698