| Index: ppapi/thunk/ppb_context_3d_trusted_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_context_3d_trusted_thunk.cc b/ppapi/thunk/ppb_context_3d_trusted_thunk.cc
|
| index 312898a6fa789a77b89912c22aa1a9feba8f10e3..9def598fe28c11ff98461e0510269ca46263091e 100644
|
| --- a/ppapi/thunk/ppb_context_3d_trusted_thunk.cc
|
| +++ b/ppapi/thunk/ppb_context_3d_trusted_thunk.cc
|
| @@ -31,20 +31,11 @@ PP_Resource CreateRaw(PP_Instance instance,
|
| attrib_list);
|
| }
|
|
|
| -PP_Bool Initialize(PP_Resource context, int32_t size) {
|
| +PP_Bool Initialize(PP_Resource context) {
|
| EnterContext3D enter(context, true);
|
| if (enter.failed())
|
| return PP_FALSE;
|
| - return enter.object()->InitializeTrusted(size);
|
| -}
|
| -
|
| -PP_Bool GetRingBuffer(PP_Resource context,
|
| - int* shm_handle,
|
| - uint32_t* shm_size) {
|
| - EnterContext3D enter(context, true);
|
| - if (enter.failed())
|
| - return PP_FALSE;
|
| - return enter.object()->GetRingBuffer(shm_handle, shm_size);
|
| + return enter.object()->InitializeTrusted();
|
| }
|
|
|
| PP_Context3DTrustedState GetState(PP_Resource context) {
|
| @@ -104,7 +95,6 @@ PP_Context3DTrustedState FlushSyncFast(PP_Resource context,
|
| const PPB_Context3DTrusted_Dev g_ppb_context_3d_trusted_thunk = {
|
| &CreateRaw,
|
| &Initialize,
|
| - &GetRingBuffer,
|
| &GetState,
|
| &Flush,
|
| &FlushSync,
|
|
|