| 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 ce5a1af36cbf1c48a40cd7eb550c237a8db89275..71eb59f4e229efac6202dc6cc83ecb2c098ea947 100644
|
| --- a/content/renderer/pepper/pepper_graphics_2d_host.h
|
| +++ b/content/renderer/pepper/pepper_graphics_2d_host.h
|
| @@ -57,8 +57,7 @@ class CONTENT_EXPORT PepperGraphics2DHost
|
| ppapi::host::HostMessageContext* context) OVERRIDE;
|
| virtual bool IsGraphics2DHost() OVERRIDE;
|
|
|
| - bool ReadImageData(PP_Resource image,
|
| - const PP_Point* top_left);
|
| + bool ReadImageData(PP_Resource image, const PP_Point* top_left);
|
| // Assciates this device with the given plugin instance. You can pass NULL
|
| // to clear the existing device. Returns true on success. In this case, a
|
| // repaint of the page will also be scheduled. Failure means that the device
|
| @@ -123,10 +122,13 @@ class CONTENT_EXPORT PepperGraphics2DHost
|
| // the update that requires invalidation. If there were no pixels changed,
|
| // this rect can be untouched.
|
| void ExecutePaintImageData(PPB_ImageData_Impl* image,
|
| - int x, int y,
|
| + int x,
|
| + int y,
|
| const gfx::Rect& src_rect,
|
| gfx::Rect* invalidated_rect);
|
| - void ExecuteScroll(const gfx::Rect& clip, int dx, int dy,
|
| + void ExecuteScroll(const gfx::Rect& clip,
|
| + int dx,
|
| + int dy,
|
| gfx::Rect* invalidated_rect);
|
| void ExecuteReplaceContents(PPB_ImageData_Impl* image,
|
| gfx::Rect* invalidated_rect,
|
|
|