diff options
Diffstat (limited to 'ppapi/cpp/image_data.h')
-rw-r--r-- | ppapi/cpp/image_data.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/cpp/image_data.h b/ppapi/cpp/image_data.h index 25f9156..673bcfc 100644 --- a/ppapi/cpp/image_data.h +++ b/ppapi/cpp/image_data.h @@ -12,6 +12,7 @@ namespace pp { +class Instance; class Plugin; class ImageData : public Resource { @@ -28,7 +29,8 @@ class ImageData : public Resource { // Allocates a new ImageData in the browser with the given parameters. The // resulting object will be is_null() if the allocation failed. - ImageData(PP_ImageDataFormat format, + ImageData(Instance* instance, + PP_ImageDataFormat format, const Size& size, bool init_to_zero); |