| Index: components/display_compositor/gpu_compositor_frame_sink.cc
|
| diff --git a/components/display_compositor/gpu_compositor_frame_sink.cc b/components/display_compositor/gpu_compositor_frame_sink.cc
|
| index ac1584bc911155da467f1ed27e6918a6d92d9ab5..eddc38e30b83fa6446bb6c3738bbd379f80d2742 100644
|
| --- a/components/display_compositor/gpu_compositor_frame_sink.cc
|
| +++ b/components/display_compositor/gpu_compositor_frame_sink.cc
|
| @@ -76,9 +76,11 @@ void GpuCompositorFrameSink::ReclaimResources(
|
| client_->ReclaimResources(resources);
|
| }
|
|
|
| -void GpuCompositorFrameSink::WillDrawSurface() {
|
| +void GpuCompositorFrameSink::WillDrawSurface(
|
| + const cc::LocalSurfaceId& local_surface_id,
|
| + const gfx::Rect& damage_rect) {
|
| if (client_)
|
| - client_->WillDrawSurface();
|
| + client_->WillDrawSurface(local_surface_id, damage_rect);
|
| }
|
|
|
| void GpuCompositorFrameSink::OnClientConnectionLost() {
|
|
|