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

Unified Diff: cc/blimp/layer_tree_host_remote_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/blimp/layer_tree_host_remote.cc ('k') | cc/output/compositor_frame_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote_unittest.cc
diff --git a/cc/blimp/layer_tree_host_remote_unittest.cc b/cc/blimp/layer_tree_host_remote_unittest.cc
index 92822d89b38beeb4c5d8ca7230be5532bbd9e4c9..8cd6d6d439db2426ab6048250d5deecd98a415aa 100644
--- a/cc/blimp/layer_tree_host_remote_unittest.cc
+++ b/cc/blimp/layer_tree_host_remote_unittest.cc
@@ -32,7 +32,7 @@ using testing::StrictMock;
#define EXPECT_BEGIN_MAIN_FRAME_AND_COMMIT(client, num) \
EXPECT_BEGIN_MAIN_FRAME(client, num) \
EXPECT_CALL(client, DidCommitAndDrawFrame()).Times(num); \
- EXPECT_CALL(client, DidCompleteSwapBuffers()).Times(num);
+ EXPECT_CALL(client, DidReceiveCompositorFrameAck()).Times(num);
namespace cc {
namespace {
@@ -93,7 +93,7 @@ class MockLayerTreeHostClient : public StubLayerTreeHostClient {
MOCK_METHOD0(WillCommit, void());
MOCK_METHOD0(DidCommit, void());
MOCK_METHOD0(DidCommitAndDrawFrame, void());
- MOCK_METHOD0(DidCompleteSwapBuffers, void());
+ MOCK_METHOD0(DidReceiveCompositorFrameAck, void());
private:
base::Closure update_host_callback_;
« no previous file with comments | « cc/blimp/layer_tree_host_remote.cc ('k') | cc/output/compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698