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..b16c9c0d1b5a33f16de690fa58a411b4e88b9f2c 100644 |
--- a/ppapi/thunk/ppb_image_data_thunk.cc |
+++ b/ppapi/thunk/ppb_image_data_thunk.cc |
@@ -40,6 +40,11 @@ PP_Resource Create(PP_Instance instance, |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateImageData(instance, |
+#if !defined(OS_NACL) |
+ PPB_ImageData_Shared::PLATFORM, |
+#else |
+ PPB_ImageData_Shared::SIMPLE, |
+#endif |
format, |
size, |
init_to_zero); |