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

Unified Diff: cc/texture_layer_impl.h

Issue 11888010: Cosmetic cleanup to texture_layer mailboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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/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;
};
« cc/resource_provider.cc ('K') | « cc/texture_layer.cc ('k') | cc/texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698