| Index: webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
| index bfe530d1c223d1d8dfb1fd3222fe21e8200af259..99ab356220cbdecb8d74e9e54bd1a0e3ef3a6a11 100644
|
| --- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
| +++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
| @@ -8,6 +8,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "ppapi/c/pp_completion_callback.h"
|
| #include "ppapi/c/ppb_graphics_2d.h"
|
| @@ -114,13 +115,13 @@ class PPB_Graphics2D_Impl : public ::ppapi::Resource,
|
| // rect argument will be filled by each function with the area affected by
|
| // the update that requires invalidation. If there were no pixels changed,
|
| // this rect can be untouched.
|
| - void ExecutePaintImageData(PPB_ImageData_Impl* image,
|
| + void ExecutePaintImageData(scoped_refptr<PPB_ImageData_Impl> image,
|
| int x, int y,
|
| const gfx::Rect& src_rect,
|
| gfx::Rect* invalidated_rect);
|
| void ExecuteScroll(const gfx::Rect& clip, int dx, int dy,
|
| gfx::Rect* invalidated_rect);
|
| - void ExecuteReplaceContents(PPB_ImageData_Impl* image,
|
| + void ExecuteReplaceContents(scoped_refptr<PPB_ImageData_Impl> image,
|
| gfx::Rect* invalidated_rect);
|
|
|
| // Schedules the offscreen callback to be fired at a future time. This
|
|
|