Index: cc/test/fake_output_surface.cc |
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc |
index e72253ca69e6d5f0b3c54519c4479f40623bc720..0345679f95088d60e6d8afdb6e678ab4e718e190 100644 |
--- a/cc/test/fake_output_surface.cc |
+++ b/cc/test/fake_output_surface.cc |
@@ -84,22 +84,23 @@ void FakeOutputSurface::SwapBuffers(CompositorFrame* frame) { |
} |
} |
-void FakeOutputSurface::SetNeedsBeginImplFrame(bool enable) { |
+void FakeOutputSurface::SetNeedsBeginFrame(bool enable) { |
needs_begin_impl_frame_ = enable; |
- OutputSurface::SetNeedsBeginImplFrame(enable); |
+ OutputSurface::SetNeedsBeginFrame(enable); |
- // If there is not BeginImplFrame emulation from the FrameRateController, |
- // then we just post a BeginImplFrame to emulate it as part of the test. |
+ // If there is not BeginFrame emulation from the FrameRateController, |
+ // then we just post a BeginFrame to emulate it as part of the test. |
if (enable && !frame_rate_controller_) { |
base::MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, base::Bind(&FakeOutputSurface::OnBeginImplFrame, |
- fake_weak_ptr_factory_.GetWeakPtr()), |
+ FROM_HERE, |
+ base::Bind(&FakeOutputSurface::OnBeginFrame, |
+ fake_weak_ptr_factory_.GetWeakPtr()), |
base::TimeDelta::FromMilliseconds(16)); |
} |
} |
-void FakeOutputSurface::OnBeginImplFrame() { |
- OutputSurface::BeginImplFrame(BeginFrameArgs::CreateForTesting()); |
+void FakeOutputSurface::OnBeginFrame() { |
+ OutputSurface::BeginFrame(BeginFrameArgs::CreateForTesting()); |
} |