| 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 e55e9ca369626fa39ca29a34507db14de1cbf3e1..7cd2b88bcdb27155f68e2921bd21f7a9b4a5bf68 100644
|
| --- a/ppapi/proxy/ppb_graphics_3d_proxy.cc
|
| +++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc
|
| @@ -28,6 +28,7 @@ namespace {
|
| const int32 kCommandBufferSize = 1024 * 1024;
|
| const int32 kTransferBufferSize = 1024 * 1024;
|
|
|
| +#if !defined(OS_NACL)
|
| base::SharedMemoryHandle TransportSHMHandle(
|
| Dispatcher* dispatcher,
|
| const base::SharedMemoryHandle& handle) {
|
| @@ -35,6 +36,7 @@ base::SharedMemoryHandle TransportSHMHandle(
|
| // Don't close the handle, it doesn't belong to us.
|
| return dispatcher->ShareHandleWithRemote(source, false);
|
| }
|
| +#endif // !defined(OS_NACL)
|
|
|
| gpu::CommandBuffer::State GetErrorState() {
|
| gpu::CommandBuffer::State error_state;
|
| @@ -378,4 +380,3 @@ void PPB_Graphics3D_Proxy::SendSwapBuffersACKToPlugin(
|
|
|
| } // namespace proxy
|
| } // namespace ppapi
|
| -
|
|
|