| Index: cc/resources/tile.cc
|
| ===================================================================
|
| --- cc/resources/tile.cc (revision 211727)
|
| +++ cc/resources/tile.cc (working copy)
|
| @@ -10,6 +10,8 @@
|
|
|
| namespace cc {
|
|
|
| +Tile::Id Tile::s_next_id_ = 0;
|
| +
|
| Tile::Tile(TileManager* tile_manager,
|
| PicturePileImpl* picture_pile,
|
| gfx::Size tile_size,
|
| @@ -24,7 +26,8 @@
|
| contents_scale_(contents_scale),
|
| opaque_rect_(opaque_rect),
|
| layer_id_(layer_id),
|
| - source_frame_number_(source_frame_number) {
|
| + source_frame_number_(source_frame_number),
|
| + id_(s_next_id_++) {
|
| set_picture_pile(picture_pile);
|
| tile_manager_->RegisterTile(this);
|
| }
|
|
|