Chromium Code Reviews| Index: cc/resources/tile.h |
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h |
| index 497aff71de8cca4b3ed377d6d3dd8e1bf9598730..4920516f07b4b799d8359aae7aaf0bf64b645bed 100644 |
| --- a/cc/resources/tile.h |
| +++ b/cc/resources/tile.h |
| @@ -32,6 +32,10 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { |
| int source_frame_number, |
| bool can_use_lcd_text); |
| + uint64 id() const { |
| + return id_; |
| + } |
| + |
| PicturePileImpl* picture_pile() { |
| return picture_pile_.get(); |
| } |
| @@ -151,6 +155,8 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> { |
| int layer_id_; |
| int source_frame_number_; |
| bool can_use_lcd_text_; |
|
reveman
2013/07/03 00:32:47
nit: maybe a blank line here.
vmpstr
2013/07/03 19:08:04
Done.
|
| + uint64 id_; |
| + static uint64 s_next_id_; |
| DISALLOW_COPY_AND_ASSIGN(Tile); |
| }; |