| Index: ppapi/thunk/ppb_image_data_trusted_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_image_data_trusted_thunk.cc b/ppapi/thunk/ppb_image_data_trusted_thunk.cc
|
| index 8cf67890dbc3247339fba6cc8d20d60eec321ecc..86554a72bab2afb6642c6011750c4d967c3cf1fc 100644
|
| --- a/ppapi/thunk/ppb_image_data_trusted_thunk.cc
|
| +++ b/ppapi/thunk/ppb_image_data_trusted_thunk.cc
|
| @@ -18,7 +18,7 @@ int32_t GetSharedMemory(PP_Resource resource,
|
| uint32_t* byte_count) {
|
| EnterResource<PPB_ImageData_API> enter(resource, true);
|
| if (enter.failed())
|
| - return PP_ERROR_BADRESOURCE;
|
| + return enter.retval();
|
| return enter.object()->GetSharedMemory(handle, byte_count);
|
| }
|
|
|
|
|