| Index: content/renderer/pepper/pepper_graphics_2d_host.h
|
| diff --git a/content/renderer/pepper/pepper_graphics_2d_host.h b/content/renderer/pepper/pepper_graphics_2d_host.h
|
| index 88a40b07ff4d1083a04b89fb7e47baa8e9cb36d6..379826c2245015c4931bd4874f18865f6851035c 100644
|
| --- a/content/renderer/pepper/pepper_graphics_2d_host.h
|
| +++ b/content/renderer/pepper/pepper_graphics_2d_host.h
|
| @@ -37,11 +37,13 @@ class CONTENT_EXPORT PepperGraphics2DHost
|
| : public ppapi::host::ResourceHost,
|
| public base::SupportsWeakPtr<PepperGraphics2DHost> {
|
| public:
|
| - static PepperGraphics2DHost* Create(RendererPpapiHost* host,
|
| - PP_Instance instance,
|
| - PP_Resource resource,
|
| - const PP_Size& size,
|
| - PP_Bool is_always_opaque);
|
| + static PepperGraphics2DHost* Create(
|
| + RendererPpapiHost* host,
|
| + PP_Instance instance,
|
| + PP_Resource resource,
|
| + const PP_Size& size,
|
| + PP_Bool is_always_opaque,
|
| + scoped_refptr<PPB_ImageData_Impl> backing_store);
|
|
|
| virtual ~PepperGraphics2DHost();
|
|
|
| @@ -86,7 +88,10 @@ class CONTENT_EXPORT PepperGraphics2DHost
|
| PP_Instance instance,
|
| PP_Resource resource);
|
|
|
| - bool Init(int width, int height, bool is_always_opaque);
|
| + bool Init(int width,
|
| + int height,
|
| + bool is_always_opaque,
|
| + scoped_refptr<PPB_ImageData_Impl> backing_store);
|
|
|
| int32_t OnHostMsgPaintImageData(ppapi::host::HostMessageContext* context,
|
| const ppapi::HostResource& image_data,
|
|
|