| Index: sky/compositor/surface_holder.cc
|
| diff --git a/sky/compositor/surface_holder.cc b/sky/compositor/surface_holder.cc
|
| index 52741fd69898ac564352a00f23909534588772f7..5288efa517e457246a78b7bc06e76c6020ac17e4 100644
|
| --- a/sky/compositor/surface_holder.cc
|
| +++ b/sky/compositor/surface_holder.cc
|
| @@ -5,6 +5,7 @@
|
| #include "sky/compositor/surface_holder.h"
|
|
|
| #include "base/bind.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "mojo/converters/geometry/geometry_type_converters.h"
|
| #include "mojo/public/cpp/application/connect.h"
|
| #include "mojo/public/interfaces/application/shell.mojom.h"
|
| @@ -58,7 +59,6 @@ void SurfaceHolder::ReturnResources(
|
| if (!resources.size())
|
| return;
|
| client_->ReturnResources(resources.Pass());
|
| - client_->OnReadyForNextFrame();
|
| }
|
|
|
| void SurfaceHolder::OnSurfaceConnectionCreated(mojo::SurfacePtr surface,
|
| @@ -66,8 +66,6 @@ void SurfaceHolder::OnSurfaceConnectionCreated(mojo::SurfacePtr surface,
|
| surface_ = surface.Pass();
|
| surface_.set_client(this);
|
| surface_allocator_.reset(new SurfaceAllocator(id_namespace));
|
| -
|
| - client_->OnReadyForNextFrame();
|
| }
|
|
|
| } // namespace sky
|
|
|