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

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: Rebase 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
« no previous file with comments | « cc/texture_layer.cc ('k') | cc/texture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_layer_impl.h
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h
index b7e5998f1ea007518ad23bbcab689d973c46608c..409afdfcfda006bfc982bdeffe449ea0bb27a18f 100644
--- a/cc/texture_layer_impl.h
+++ b/cc/texture_layer_impl.h
@@ -42,7 +42,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);
@@ -58,8 +58,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;
};
« no previous file with comments | « 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