| Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| index f4f0490f88daf7a7c1624c129f3bf2bc1a384991..eea71b0f7493f0c0fdec9a37b9bd7293a86ff30c 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| @@ -1435,7 +1435,6 @@ NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_CreateRaw(
|
| NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_InitCommandBuffer(
|
| NaClSrpcChannel* channel,
|
| PP_Resource resource_id,
|
| - int32_t size,
|
| int32_t* success) {
|
| VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| ("%s: PPAPI calls are not supported off the main thread\n",
|
| @@ -1443,29 +1442,26 @@ NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_InitCommandBuffer(
|
| NaClSrpcError retval;
|
| retval = NaClSrpcInvokeBySignature(
|
| channel,
|
| - "PPB_Graphics3DTrusted_InitCommandBuffer:ii:i",
|
| + "PPB_Graphics3DTrusted_InitCommandBuffer:i:i",
|
| resource_id,
|
| - size,
|
| success
|
| );
|
| return retval;
|
| }
|
|
|
| -NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetRingBuffer(
|
| +NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer(
|
| NaClSrpcChannel* channel,
|
| PP_Resource resource_id,
|
| - NaClSrpcImcDescType* shm_desc,
|
| - int32_t* shm_size) {
|
| + int32_t shm_id) {
|
| VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| ("%s: PPAPI calls are not supported off the main thread\n",
|
| __FUNCTION__));
|
| NaClSrpcError retval;
|
| retval = NaClSrpcInvokeBySignature(
|
| channel,
|
| - "PPB_Graphics3DTrusted_GetRingBuffer:i:hi",
|
| + "PPB_Graphics3DTrusted_SetGetBuffer:ii:",
|
| resource_id,
|
| - shm_desc,
|
| - shm_size
|
| + shm_id
|
| );
|
| return retval;
|
| }
|
|
|