Index: cc/layers/texture_layer_client.h |
diff --git a/cc/layers/texture_layer_client.h b/cc/layers/texture_layer_client.h |
index 73d34b30775eedec4fae23a002110225b33d2bca..a1db51ab87e21a15b88420fd541dc27b8a2a6692 100644 |
--- a/cc/layers/texture_layer_client.h |
+++ b/cc/layers/texture_layer_client.h |
@@ -5,6 +5,8 @@ |
#ifndef CC_LAYERS_TEXTURE_LAYER_CLIENT_H_ |
#define CC_LAYERS_TEXTURE_LAYER_CLIENT_H_ |
+#include "cc/resources/scoped_release_callback.h" |
+ |
namespace WebKit { class WebGraphicsContext3D; } |
namespace cc { |
@@ -24,8 +26,10 @@ class TextureLayerClient { |
// Returns true and provides a mailbox if a new frame is available. |
// Returns false if no new data is available |
// and the old mailbox is to be reused. |
- virtual bool PrepareTextureMailbox(TextureMailbox* mailbox, |
- bool use_shared_memory) = 0; |
+ virtual bool PrepareTextureMailbox( |
+ TextureMailbox* mailbox, |
+ scoped_ptr<ScopedReleaseCallback>* release_callback, |
+ bool use_shared_memory) = 0; |
protected: |
virtual ~TextureLayerClient() {} |