Index: webkit/plugins/ppapi/ppb_image_data_impl.h |
diff --git a/webkit/plugins/ppapi/ppb_image_data_impl.h b/webkit/plugins/ppapi/ppb_image_data_impl.h |
index bbcf7e6cfbdb80fbd73719632a70be2df22b7f91..5bc92992c038ed66fe944753d363033d277a95ab 100644 |
--- a/webkit/plugins/ppapi/ppb_image_data_impl.h |
+++ b/webkit/plugins/ppapi/ppb_image_data_impl.h |
@@ -63,12 +63,13 @@ class WEBKIT_PLUGINS_EXPORT PPB_ImageData_Impl |
const PP_Size& size, |
PP_Bool init_to_zero); |
- // Use this to create an ImageData for use with NaCl. This is backed by a |
- // simple shared memory buffer. |
- static PP_Resource CreateNaCl(PP_Instance pp_instance, |
- PP_ImageDataFormat format, |
- const PP_Size& size, |
- PP_Bool init_to_zero); |
+ // Use this to create an ImageData when access to the platform-specific canvas |
+ // isn't required. This is backed by a simple shared memory buffer. This is |
+ // the only kind of ImageData that can be used by NaCl plugins. |
+ static PP_Resource CreateSimple(PP_Instance pp_instance, |
+ PP_ImageDataFormat format, |
+ const PP_Size& size, |
+ PP_Bool init_to_zero); |
int width() const { return width_; } |
int height() const { return height_; } |