summaryrefslogtreecommitdiffstats
path: root/cc/texture_layer_impl.h
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-21 20:18:51 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-21 20:18:51 +0000
commit357bc11feb0ad18483ab1c64a8f0d15de8bf0545 (patch)
treec3a9b91744e0b0e7b66bdea09b57a38879e9785b /cc/texture_layer_impl.h
parenta20df1f7fa136a777212206ce61c119da2c9a0e2 (diff)
downloadchromium_src-357bc11feb0ad18483ab1c64a8f0d15de8bf0545.zip
chromium_src-357bc11feb0ad18483ab1c64a8f0d15de8bf0545.tar.gz
chromium_src-357bc11feb0ad18483ab1c64a8f0d15de8bf0545.tar.bz2
Cosmetic cleanup to texture_layer mailboxes.
BUG= Review URL: https://chromiumcodereview.appspot.com/11888010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/texture_layer_impl.h')
-rw-r--r--cc/texture_layer_impl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h
index b7e5998..409afdf 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;
};