Chromium Code Reviews| Index: cc/texture_layer.h |
| diff --git a/cc/texture_layer.h b/cc/texture_layer.h |
| index f85edb6138e199e4be9c596caa0e6c3c7891063e..686c29be4774fbbcb385d2840daa24ce230f0db6 100644 |
| --- a/cc/texture_layer.h |
| +++ b/cc/texture_layer.h |
| @@ -24,10 +24,8 @@ class CC_EXPORT TextureLayer : public Layer { |
| // If this texture layer requires special preparation logic for each frame |
| // driven by the compositor, pass in a non-nil client. Pass in a nil client |
| // pointer if texture updates are driven by an external process. |
| - static scoped_refptr<TextureLayer> Create(TextureLayerClient* client); |
| - |
| - // Used when mailbox names are specified instead of texture IDs. |
| - static scoped_refptr<TextureLayer> CreateForMailbox(); |
| + static scoped_refptr<TextureLayer> Create(TextureLayerClient* client, |
| + bool usesMailbox); |
|
piman
2013/03/14 19:54:58
nit: uses_mailbox, we're in chrome style now.
alexst (slow to review)
2013/03/14 20:37:06
Done.
|
| void ClearClient() { client_ = NULL; } |