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

Unified Diff: components/exo/compositor_frame_sink.cc

Issue 2701663003: CompositorFrameSinkSupportClient::WillDraw needs to take in arguments (Closed)
Patch Set: c Created 3 years, 10 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
« no previous file with comments | « components/exo/compositor_frame_sink.h ('k') | components/exo/compositor_frame_sink_holder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/compositor_frame_sink.cc
diff --git a/components/exo/compositor_frame_sink.cc b/components/exo/compositor_frame_sink.cc
index b834ad3ce3949959b9dbb5f147a5307b2a4c5d99..0c197afcd772c21f413e9882e014fb08ab91a7c3 100644
--- a/components/exo/compositor_frame_sink.cc
+++ b/components/exo/compositor_frame_sink.cc
@@ -70,8 +70,10 @@ void CompositorFrameSink::ReclaimResources(
client_->ReclaimResources(resources);
}
-void CompositorFrameSink::WillDrawSurface() {
- client_->WillDrawSurface();
+void CompositorFrameSink::WillDrawSurface(
+ const cc::LocalSurfaceId& local_surface_id,
+ const gfx::Rect& damage_rect) {
+ client_->WillDrawSurface(local_surface_id, damage_rect);
}
} // namespace exo
« no previous file with comments | « components/exo/compositor_frame_sink.h ('k') | components/exo/compositor_frame_sink_holder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698