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

Unified Diff: cc/surfaces/compositor_frame_sink_support.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 | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/surfaces/compositor_frame_sink_support_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support.cc
diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc
index 2cbae61f4d3ca55341bdfe625f25b3ed7b8a0617..2dd10966f070eaf34699449e56ab9d39d6fc19a9 100644
--- a/cc/surfaces/compositor_frame_sink_support.cc
+++ b/cc/surfaces/compositor_frame_sink_support.cc
@@ -216,7 +216,7 @@ void CompositorFrameSinkSupport::WillDrawSurface(
const LocalSurfaceId& local_surface_id,
const gfx::Rect& damage_rect) {
if (client_)
- client_->WillDrawSurface();
+ client_->WillDrawSurface(local_surface_id, damage_rect);
}
void CompositorFrameSinkSupport::OnBeginFrame(const BeginFrameArgs& args) {
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/surfaces/compositor_frame_sink_support_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698