Chromium Code Reviews| Index: cc/layers/texture_layer.h |
| diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h |
| index cff2e3cd46fa13339168e811c60c0ae433e736dd..32337ce4ba9898a250a12ae2282e65bc4ba3d22f 100644 |
| --- a/cc/layers/texture_layer.h |
| +++ b/cc/layers/texture_layer.h |
| @@ -62,6 +62,7 @@ class CC_EXPORT TextureLayer : public Layer { |
| void SetTextureId(unsigned texture_id); |
| // Code path for plugins which supply their own mailbox. |
| + bool uses_mailbox() const { return uses_mailbox_; } |
| void SetTextureMailbox(const TextureMailbox& mailbox); |
| void WillModifyTexture(); |
| @@ -84,7 +85,7 @@ class CC_EXPORT TextureLayer : public Layer { |
| private: |
| TextureLayerClient* client_; |
| - bool uses_mailbox_; |
| + const bool uses_mailbox_; |
|
danakj
2013/05/23 15:34:33
const things should be kFooBar. I'd prefer to not
slavi
2013/05/28 18:55:13
Done.
|
| bool flipped_; |
| gfx::PointF uv_top_left_; |
| @@ -97,7 +98,7 @@ class CC_EXPORT TextureLayer : public Layer { |
| bool content_committed_; |
| unsigned texture_id_; |
| - TextureMailbox texture_mailbox_; |
| + TextureMailbox mailbox_; |
|
danakj
2013/05/23 15:34:33
Prefer to keep this variable name as is. It's not
slavi
2013/05/28 18:55:13
Done.
|
| bool own_mailbox_; |
| DISALLOW_COPY_AND_ASSIGN(TextureLayer); |