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

Unified Diff: cc/test/fake_compositor_frame_sink.h

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/test/fake_channel_impl.h ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_compositor_frame_sink.h
diff --git a/cc/test/fake_compositor_frame_sink.h b/cc/test/fake_compositor_frame_sink.h
index 616103e7947e03677b3364d630f99216771da973..eb6749e89cecce89fbf9839c0e387df71b87a099 100644
--- a/cc/test/fake_compositor_frame_sink.h
+++ b/cc/test/fake_compositor_frame_sink.h
@@ -49,7 +49,7 @@ class FakeCompositorFrameSink : public CompositorFrameSink {
}
// CompositorFrameSink implementation.
- void SwapBuffers(CompositorFrame frame) override;
+ void SubmitCompositorFrame(CompositorFrame frame) override;
void DetachFromClient() override;
CompositorFrame* last_sent_frame() { return last_sent_frame_.get(); }
@@ -80,7 +80,7 @@ class FakeCompositorFrameSink : public CompositorFrameSink {
gfx::Rect last_swap_rect_;
private:
- void SwapBuffersAck();
+ void DidReceiveCompositorFrameAck();
base::WeakPtrFactory<FakeCompositorFrameSink> weak_ptr_factory_;
};
« no previous file with comments | « cc/test/fake_channel_impl.h ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698