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

Unified Diff: content/browser/renderer_host/offscreen_canvas_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: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
index 415a7539989ffcdf58ddb7048bab6f73b11db04e..7dd5c26eac56e9eb1f07cd7e5046104cc36841fc 100644
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
@@ -76,10 +76,7 @@ void OffscreenCanvasCompositorFrameSink::ReclaimResources(
void OffscreenCanvasCompositorFrameSink::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 OffscreenCanvasCompositorFrameSink::OnClientConnectionLost() {
provider_->OnCompositorFrameSinkClientConnectionLost(
« no previous file with comments | « components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc ('k') | services/ui/public/cpp/client_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698