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 ad8c94d4fb2f3411139d27c498fb8b273a0cdc60..7179398d11bc2c2b1d5a9cb87cd1af716e6747f8 100644 |
--- a/content/renderer/pepper/pepper_graphics_2d_host.h |
+++ b/content/renderer/pepper/pepper_graphics_2d_host.h |
@@ -16,7 +16,10 @@ |
#include "ppapi/host/resource_host.h" |
#include "third_party/WebKit/public/platform/WebCanvas.h" |
-namespace cc { class TextureMailbox; } |
+namespace cc { |
+class SingleReleaseCallback; |
+class TextureMailbox; |
+} |
namespace gfx { |
class Point; |
@@ -59,7 +62,9 @@ class CONTENT_EXPORT PepperGraphics2DHost |
const gfx::Rect& plugin_rect, |
const gfx::Rect& paint_rect); |
- bool PrepareTextureMailbox(cc::TextureMailbox* mailbox); |
+ bool PrepareTextureMailbox( |
+ cc::TextureMailbox* mailbox, |
+ scoped_ptr<cc::SingleReleaseCallback>* release_callback); |
void AttachedToNewLayer(); |
// Notifications about the view's progress painting. See PluginInstance. |