| Index: cc/output/compositor_frame_sink.h
|
| diff --git a/cc/output/compositor_frame_sink.h b/cc/output/compositor_frame_sink.h
|
| index e1f2ec641c5cc5e90f9507a2e7757e1d232aeb55..5aa440552e3573434cd910256e8f0dde7ff63464 100644
|
| --- a/cc/output/compositor_frame_sink.h
|
| +++ b/cc/output/compositor_frame_sink.h
|
| @@ -104,10 +104,10 @@ class CC_EXPORT CompositorFrameSink {
|
| // there's new content.
|
| virtual void Invalidate() {}
|
|
|
| - // For successful swaps, the implementation must call DidSwapBuffersComplete()
|
| - // (via OnSwapBuffersComplete()) eventually.
|
| - virtual void SwapBuffers(CompositorFrame frame) = 0;
|
| - virtual void OnSwapBuffersComplete();
|
| + // For successful swaps, the implementation must call
|
| + // DidReceiveCompositorFrameAck() asynchronously when the frame has been
|
| + // processed in order to unthrottle the next frame.
|
| + virtual void SubmitCompositorFrame(CompositorFrame frame) = 0;
|
|
|
| protected:
|
| // Bound to the ContextProvider to hear about when it is lost and inform the
|
|
|