diff options
Diffstat (limited to 'ppapi/cpp/graphics_2d.h')
-rw-r--r-- | ppapi/cpp/graphics_2d.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/cpp/graphics_2d.h b/ppapi/cpp/graphics_2d.h index 39bcb5e..9d498e1 100644 --- a/ppapi/cpp/graphics_2d.h +++ b/ppapi/cpp/graphics_2d.h @@ -13,6 +13,7 @@ namespace pp { class CompletionCallback; class ImageData; +class Instance; class Point; class Rect; @@ -27,7 +28,7 @@ class Graphics2D : public Resource { // Allocates a new 2D graphics context with the given size in the browser, // resulting object will be is_null() if the allocation failed. - Graphics2D(const Size& size, bool is_always_opaque); + Graphics2D(Instance* instance, const Size& size, bool is_always_opaque); virtual ~Graphics2D(); |