| 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 84b0a41d9ccab9613dffa7138ecbb78d6f13b5ef..1db8d8f75d186673276c0ce6564ac4e8c69a7196 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support.cc
|
| +++ b/cc/surfaces/compositor_frame_sink_support.cc
|
| @@ -146,7 +146,9 @@ void CompositorFrameSinkSupport::SubmitCompositorFrame(
|
| surface_factory_->SubmitCompositorFrame(
|
| local_surface_id, std::move(frame),
|
| base::Bind(&CompositorFrameSinkSupport::DidReceiveCompositorFrameAck,
|
| - weak_factory_.GetWeakPtr()));
|
| + weak_factory_.GetWeakPtr()),
|
| + base::BindRepeating(&CompositorFrameSinkSupport::WillDrawSurface,
|
| + weak_factory_.GetWeakPtr()));
|
|
|
| // TODO(eseckler): The CompositorFrame submitted below might not be activated
|
| // right away b/c of surface synchronization. We should only send the
|
|
|