Index: cc/texture_layer_impl.h |
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h |
index 0f0ac3e43895e10356bf41f5d1c7cae51e344479..4e14d79fca8ecbd11b88570d554d8825b11980ea 100644 |
--- a/cc/texture_layer_impl.h |
+++ b/cc/texture_layer_impl.h |
@@ -41,7 +41,7 @@ public: |
void setVertexOpacity(const float vertexOpacity[4]); |
virtual bool canClipSelf() const OVERRIDE; |
- void setTextureMailbox(const std::string& mailboxName, const base::Callback<void(unsigned)>& releaseCallback); |
+ void setTextureMailbox(const TextureMailbox&); |
private: |
TextureLayerImpl(LayerTreeImpl* treeImpl, int id, bool usesMailbox); |
@@ -56,8 +56,7 @@ private: |
float m_vertexOpacity[4]; |
bool m_hasPendingMailbox; |
- std::string m_pendingMailboxName; |
- base::Callback<void(unsigned)> m_pendingMailboxReleaseCallback; |
+ TextureMailbox m_pendingTextureMailbox; |
bool m_usesMailbox; |
}; |