diff options
Diffstat (limited to 'webkit/plugins/ppapi/ppb_image_data_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/ppb_image_data_impl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/ppb_image_data_impl.h b/webkit/plugins/ppapi/ppb_image_data_impl.h index c02b3e3..1c6b7ff 100644 --- a/webkit/plugins/ppapi/ppb_image_data_impl.h +++ b/webkit/plugins/ppapi/ppb_image_data_impl.h @@ -12,6 +12,7 @@ #include "ppapi/shared_impl/resource.h" #include "ppapi/thunk/ppb_image_data_api.h" #include "webkit/plugins/ppapi/plugin_delegate.h" +#include "webkit/plugins/webkit_plugins_export.h" namespace skia { class PlatformCanvas; @@ -29,7 +30,7 @@ class PPB_ImageData_Impl : public ::ppapi::Resource, // If you call this constructor, you must also call Init before use. Normally // you should use the static Create function, but this constructor is needed // for some internal uses of ImageData (like Graphics2D). - explicit PPB_ImageData_Impl(PP_Instance instance); + WEBKIT_PLUGINS_EXPORT explicit PPB_ImageData_Impl(PP_Instance instance); virtual ~PPB_ImageData_Impl(); static PP_Resource Create(PP_Instance pp_instance, @@ -37,9 +38,9 @@ class PPB_ImageData_Impl : public ::ppapi::Resource, const PP_Size& size, PP_Bool init_to_zero); - bool Init(PP_ImageDataFormat format, - int width, int height, - bool init_to_zero); + WEBKIT_PLUGINS_EXPORT bool Init(PP_ImageDataFormat format, + int width, int height, + bool init_to_zero); int width() const { return width_; } int height() const { return height_; } |