Index: cc/resources/tile.cc |
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc |
index ff7a7a299491b159ed015eb11ee31161d74c3cbc..e994a5ec94d41e1c89b04c0fd9f7c99989ba4185 100644 |
--- a/cc/resources/tile.cc |
+++ b/cc/resources/tile.cc |
@@ -33,6 +33,9 @@ Tile::Tile(TileManager* tile_manager, |
source_frame_number_(source_frame_number), |
flags_(flags), |
is_shared_(false), |
+ tiling_i_index_(-1), |
+ tiling_j_index_(-1), |
+ required_for_activation_(false), |
id_(s_next_id_++) { |
set_picture_pile(picture_pile); |
for (int i = 0; i < NUM_TREES; i++) |
@@ -45,22 +48,6 @@ Tile::~Tile() { |
"cc::Tile", this); |
} |
-void Tile::SetPriority(WhichTree tree, const TilePriority& priority) { |
- if (priority == priority_[tree]) |
- return; |
- |
- priority_[tree] = priority; |
- tile_manager_->DidChangeTilePriority(this); |
-} |
- |
-void Tile::MarkRequiredForActivation() { |
- if (priority_[PENDING_TREE].required_for_activation) |
- return; |
- |
- priority_[PENDING_TREE].required_for_activation = true; |
- tile_manager_->DidChangeTilePriority(this); |
-} |
- |
void Tile::AsValueInto(base::debug::TracedValue* res) const { |
TracedValue::MakeDictIntoImplicitSnapshotWithCategory( |
TRACE_DISABLED_BY_DEFAULT("cc.debug"), res, "cc::Tile", this); |