Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: cc/layers/texture_layer_client.h

Issue 23648014: cc: Move TextureMailbox::ReleaseCallback to SingleReleaseCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b300c71ff41585af61802df1267a5942b51147c0 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 {
@@ -25,6 +27,7 @@ class TextureLayerClient {
// Returns false if no new data is available
// and the old mailbox is to be reused.
virtual bool PrepareTextureMailbox(TextureMailbox* mailbox,
+ ScopedReleaseCallback* release_callback,
bool use_shared_memory) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698