Index: ppapi/proxy/ppb_graphics_3d_proxy.cc |
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.cc b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
index 0c21e377733751873561ff42642fd1df3a818fba..ccb784b77f527bf233171f70a0ed4ea611e36dec 100644 |
--- a/ppapi/proxy/ppb_graphics_3d_proxy.cc |
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
@@ -105,10 +105,6 @@ |
NOTREACHED(); |
} |
-void Graphics3D::TakeFrontBuffer() { |
- NOTREACHED(); |
-} |
- |
gpu::CommandBuffer* Graphics3D::GetCommandBuffer() { |
return command_buffer_.get(); |
} |
@@ -123,11 +119,6 @@ |
gpu::gles2::GLES2Implementation* gl = gles2_impl(); |
gl->SwapBuffers(); |
- |
- PluginDispatcher::GetForResource(this)->Send( |
- new PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer(API_ID_PPB_GRAPHICS_3D, |
- host_resource())); |
- |
const GLuint64 fence_sync = gl->InsertFenceSyncCHROMIUM(); |
gl->ShallowFlushCHROMIUM(); |
@@ -221,8 +212,6 @@ |
OnMsgDestroyTransferBuffer) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
OnMsgSwapBuffers) |
- IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer, |
- OnMsgTakeFrontBuffer) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBGraphics3D_EnsureWorkVisible, |
OnMsgEnsureWorkVisible) |
#endif // !defined(OS_NACL) |
@@ -356,12 +345,6 @@ |
enter.object()->SwapBuffersWithSyncToken(enter.callback(), sync_token)); |
} |
-void PPB_Graphics3D_Proxy::OnMsgTakeFrontBuffer(const HostResource& context) { |
- EnterHostFromHostResource<PPB_Graphics3D_API> enter(context); |
- if (enter.succeeded()) |
- enter.object()->TakeFrontBuffer(); |
-} |
- |
void PPB_Graphics3D_Proxy::OnMsgEnsureWorkVisible(const HostResource& context) { |
EnterHostFromHostResource<PPB_Graphics3D_API> enter(context); |
if (enter.succeeded()) |