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 93bc83106b434ba36079a756f89cd15fb272d59d..4462302c0e1e8b61d1a364b1753b15f4d261c835 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); |
} |