Chromium Code Reviews| Index: ppapi/thunk/ppb_image_data_thunk.cc |
| diff --git a/ppapi/thunk/ppb_image_data_thunk.cc b/ppapi/thunk/ppb_image_data_thunk.cc |
| index d26904a985c7622329403f945f8376a4fe7c87c8..a6453cb03bfef3dbcfafd6cf897b247b9bd53764 100644 |
| --- a/ppapi/thunk/ppb_image_data_thunk.cc |
| +++ b/ppapi/thunk/ppb_image_data_thunk.cc |
| @@ -39,10 +39,10 @@ PP_Resource Create(PP_Instance instance, |
| EnterResourceCreation enter(instance); |
| if (enter.failed()) |
| return 0; |
| - return enter.functions()->CreateImageData(instance, |
| - format, |
| - size, |
| - init_to_zero); |
| + return enter.functions()->CreateImageDataPlatform(instance, |
| + format, |
| + size, |
| + init_to_zero); |
|
dmichael (off chromium)
2013/06/10 18:07:29
I think here you'll need to do conditional compila
bbudge
2013/06/10 23:28:37
Done.
Hopefully it will be a NaCl plugin that act
|
| } |
| PP_Bool IsImageData(PP_Resource image_data) { |