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

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
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 03cdc74e57ce854c5ab5401ccf52d984ca99bbd8..ab5cb0a6228a553b9538770c02ca8ef92ab197d1 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 {
@@ -82,7 +82,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_;

Powered by Google App Engine
This is Rietveld 408576698