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

Unified Diff: cc/output/compositor_frame_sink_unittest.cc

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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/output/compositor_frame_sink_client.h ('k') | cc/scheduler/compositor_timing_history.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_sink_unittest.cc
diff --git a/cc/output/compositor_frame_sink_unittest.cc b/cc/output/compositor_frame_sink_unittest.cc
index 80d3c6010caeeb0899073699598488ada41c036a..4087c5c68a3237b819ffcf304e7c72e0625a13e1 100644
--- a/cc/output/compositor_frame_sink_unittest.cc
+++ b/cc/output/compositor_frame_sink_unittest.cc
@@ -23,13 +23,9 @@ class TestCompositorFrameSink : public CompositorFrameSink {
: CompositorFrameSink(std::move(context_provider),
std::move(worker_context_provider)) {}
- void SwapBuffers(CompositorFrame frame) override {
- client_->DidSwapBuffersComplete();
+ void SubmitCompositorFrame(CompositorFrame frame) override {
+ client_->DidReceiveCompositorFrameAck();
}
-
- void OnSwapBuffersCompleteForTesting() { client_->DidSwapBuffersComplete(); }
-
- protected:
};
TEST(CompositorFrameSinkTest, ContextLossInformsClient) {
« no previous file with comments | « cc/output/compositor_frame_sink_client.h ('k') | cc/scheduler/compositor_timing_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698