| Index: mojo/examples/pepper_container_app/graphics_3d_resource.cc
|
| diff --git a/mojo/examples/pepper_container_app/graphics_3d_resource.cc b/mojo/examples/pepper_container_app/graphics_3d_resource.cc
|
| index 506e74737cf970c1f40a4f1bb588a588e3c4e76b..1fa8675638b2879dc4a5a20e9d85897c2d71bb29 100644
|
| --- a/mojo/examples/pepper_container_app/graphics_3d_resource.cc
|
| +++ b/mojo/examples/pepper_container_app/graphics_3d_resource.cc
|
| @@ -28,7 +28,6 @@ Graphics3DResource::Graphics3DResource(PP_Instance instance)
|
| ScopedMessagePipeHandle pipe = MojoPpapiGlobals::Get()->CreateGLES2Context();
|
| context_ = MojoGLES2CreateContext(pipe.release().value(),
|
| &ContextLostThunk,
|
| - &DrawAnimationFrameThunk,
|
| this);
|
| }
|
|
|
| @@ -154,10 +153,6 @@ void Graphics3DResource::ContextLostThunk(void* closure) {
|
| static_cast<Graphics3DResource*>(closure)->ContextLost();
|
| }
|
|
|
| -void Graphics3DResource::DrawAnimationFrameThunk(void* closure) {
|
| - // TODO(yzshen): Use this notification to drive the SwapBuffers() callback.
|
| -}
|
| -
|
| void Graphics3DResource::ContextLost() {
|
| PluginInstance* plugin_instance =
|
| MojoPpapiGlobals::Get()->GetInstance(pp_instance());
|
|
|