| Index: cc/trees/layer_tree_host_impl_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
|
| index 0fff5ffc332c261241c2f23a03188c0f65549013..e2f5a845deed9466637a83691f004602b9d13e80 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -108,8 +108,9 @@ class LayerTreeHostImplTest : public testing::Test,
|
|
|
| virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE {}
|
| virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE {}
|
| + virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {}
|
| virtual void DidSwapBuffersOnImplThread() OVERRIDE {}
|
| - virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE {}
|
| + virtual void DidSwapBuffersCompleteOnImplThread() OVERRIDE {}
|
| virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {}
|
| virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE {
|
| on_can_draw_state_changed_called_ = true;
|
| @@ -5354,7 +5355,7 @@ class CompositorFrameMetadataTest : public LayerTreeHostImplTest {
|
| CompositorFrameMetadataTest()
|
| : swap_buffers_complete_(0) {}
|
|
|
| - virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE {
|
| + virtual void DidSwapBuffersCompleteOnImplThread() OVERRIDE {
|
| swap_buffers_complete_++;
|
| }
|
|
|
| @@ -5372,7 +5373,7 @@ TEST_F(CompositorFrameMetadataTest, CompositorFrameAckCountsAsSwapComplete) {
|
| }
|
| CompositorFrameAck ack;
|
| host_impl_->ReclaimResources(&ack);
|
| - host_impl_->OnSwapBuffersComplete();
|
| + host_impl_->DidSwapBuffersComplete();
|
| EXPECT_EQ(swap_buffers_complete_, 1);
|
| }
|
|
|
|
|