diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_graphics_2d.h')
-rw-r--r-- | webkit/glue/plugins/pepper_graphics_2d.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webkit/glue/plugins/pepper_graphics_2d.h b/webkit/glue/plugins/pepper_graphics_2d.h index 3af84ded..c3fad68 100644 --- a/webkit/glue/plugins/pepper_graphics_2d.h +++ b/webkit/glue/plugins/pepper_graphics_2d.h @@ -36,8 +36,6 @@ class Graphics2D : public Resource { bool Init(int width, int height, bool is_always_opaque); - bool is_always_opaque() const { return is_always_opaque_; } - // Resource override. virtual Graphics2D* AsGraphics2D() { return this; } @@ -168,10 +166,6 @@ class Graphics2D : public Resource { // enforce the "only one pending flush at a time" constraint in the API. bool offscreen_flush_pending_; - // Set to true if the plugin declares that this device will always be opaque. - // This allows us to do more optimized painting in some cases. - bool is_always_opaque_; - DISALLOW_COPY_AND_ASSIGN(Graphics2D); }; |