| Index: cc/test/fake_output_surface.cc
|
| diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
|
| index 29680de50e0d115fa49e20059d349c905e3aaa7b..28d8dd63a61c761e5f6c502fa972084044fa5792 100644
|
| --- a/cc/test/fake_output_surface.cc
|
| +++ b/cc/test/fake_output_surface.cc
|
| @@ -20,7 +20,6 @@ FakeOutputSurface::FakeOutputSurface(
|
| : OutputSurface(context_provider),
|
| client_(NULL),
|
| num_sent_frames_(0),
|
| - needs_begin_frame_(false),
|
| has_external_stencil_test_(false),
|
| fake_weak_ptr_factory_(this) {
|
| if (delegated_rendering) {
|
| @@ -82,24 +81,6 @@ void FakeOutputSurface::SwapBuffers(CompositorFrame* frame) {
|
| }
|
| }
|
|
|
| -void FakeOutputSurface::SetNeedsBeginFrame(bool enable) {
|
| - needs_begin_frame_ = enable;
|
| - OutputSurface::SetNeedsBeginFrame(enable);
|
| -
|
| - if (enable) {
|
| - base::MessageLoop::current()->PostDelayedTask(
|
| - FROM_HERE,
|
| - base::Bind(&FakeOutputSurface::OnBeginFrame,
|
| - fake_weak_ptr_factory_.GetWeakPtr()),
|
| - base::TimeDelta::FromMilliseconds(16));
|
| - }
|
| -}
|
| -
|
| -void FakeOutputSurface::OnBeginFrame() {
|
| - client_->BeginFrame(CreateBeginFrameArgsForTesting());
|
| -}
|
| -
|
| -
|
| bool FakeOutputSurface::BindToClient(OutputSurfaceClient* client) {
|
| if (OutputSurface::BindToClient(client)) {
|
| client_ = client;
|
|
|