| Index: mojo/gles2/gles2_context.cc
|
| diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc
|
| index 701b0fed13d50d06bf72aab87664511be8fac4a4..c454aed439b3dbf23604cde3824c8ce475e55f78 100644
|
| --- a/mojo/gles2/gles2_context.cc
|
| +++ b/mojo/gles2/gles2_context.cc
|
| @@ -23,11 +23,9 @@ const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
|
| GLES2Context::GLES2Context(const MojoAsyncWaiter* async_waiter,
|
| ScopedMessagePipeHandle command_buffer_handle,
|
| MojoGLES2ContextLost lost_callback,
|
| - MojoGLES2DrawAnimationFrame animation_callback,
|
| void* closure)
|
| : command_buffer_(this, async_waiter, command_buffer_handle.Pass()),
|
| lost_callback_(lost_callback),
|
| - animation_callback_(animation_callback),
|
| closure_(closure) {}
|
|
|
| GLES2Context::~GLES2Context() {}
|
| @@ -57,17 +55,7 @@ bool GLES2Context::Initialize() {
|
| gpu::gles2::GLES2Implementation::kNoLimit);
|
| }
|
|
|
| -void GLES2Context::RequestAnimationFrames() {
|
| - command_buffer_.RequestAnimationFrames();
|
| -}
|
| -
|
| -void GLES2Context::CancelAnimationFrames() {
|
| - command_buffer_.CancelAnimationFrames();
|
| -}
|
| -
|
| void GLES2Context::ContextLost() { lost_callback_(closure_); }
|
|
|
| -void GLES2Context::DrawAnimationFrame() { animation_callback_(closure_); }
|
| -
|
| } // namespace gles2
|
| } // namespace mojo
|
|
|