| Index: cc/test/test_compositor_frame_sink.cc
|
| diff --git a/cc/test/test_compositor_frame_sink.cc b/cc/test/test_compositor_frame_sink.cc
|
| index 0974cde40fde2bbbcc626caaba7f4b6c6ec9a795..5d79d61031855a4aa5b02e50d8223a69bf564a73 100644
|
| --- a/cc/test/test_compositor_frame_sink.cc
|
| +++ b/cc/test/test_compositor_frame_sink.cc
|
| @@ -117,7 +117,7 @@ void TestCompositorFrameSink::DetachFromClient() {
|
| CompositorFrameSink::DetachFromClient();
|
| }
|
|
|
| -void TestCompositorFrameSink::SwapBuffers(CompositorFrame frame) {
|
| +void TestCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) {
|
| if (test_client_)
|
| test_client_->DisplayReceivedCompositorFrame(frame);
|
|
|
| @@ -164,9 +164,9 @@ void TestCompositorFrameSink::SwapBuffers(CompositorFrame frame) {
|
| }
|
|
|
| void TestCompositorFrameSink::DidDrawCallback() {
|
| - // This is the frame ack to unthrottle the next frame, not actually a notice
|
| - // that drawing is done.
|
| - client_->DidSwapBuffersComplete();
|
| + // This is to unthrottle the next frame, not actually a notice that drawing is
|
| + // done.
|
| + client_->DidReceiveCompositorFrameAck();
|
| }
|
|
|
| void TestCompositorFrameSink::ForceReclaimResources() {
|
|
|