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

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

Issue 2801313002: Remove MojoCompositorFrameSink::WillDrawSurface (Closed)
Patch Set: Address Nit Created 3 years, 8 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 ffa80a8f45d044ce12573be5b876a183a75b882f..f3240e8b36d3a30e142bd5839f62802695c8db88 100644
--- a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
@@ -83,10 +83,7 @@ void GpuCompositorFrameSink::ReclaimResources(
void GpuCompositorFrameSink::WillDrawSurface(
const cc::LocalSurfaceId& local_surface_id,
- const gfx::Rect& damage_rect) {
- if (client_)
- client_->WillDrawSurface(local_surface_id, damage_rect);
-}
+ const gfx::Rect& damage_rect) {}
void GpuCompositorFrameSink::OnClientConnectionLost() {
client_connection_lost_ = true;
« no previous file with comments | « components/exo/compositor_frame_sink_holder.cc ('k') | components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698