Index: cc/tile.cc |
diff --git a/cc/tile.cc b/cc/tile.cc |
index 22d0b99c847a6373af61df11a26bab2a493c01e4..2bc01f89de4ed01b5d1f7ac70c69a4aef7c3001e 100644 |
--- a/cc/tile.cc |
+++ b/cc/tile.cc |
@@ -45,10 +45,9 @@ scoped_ptr<base::Value> Tile::AsValue() const { |
return res.PassAs<base::Value>(); |
} |
-bool Tile::IsReadyToDraw() const { |
- return GetResourceId() != 0 || |
- is_solid_color() || |
- is_transparent(); |
+void Tile::SetPriority(WhichTree tree, const TilePriority& priority) { |
+ tile_manager_->WillModifyTilePriority(this, tree, priority); |
+ priority_[tree] = priority; |
} |
} // namespace cc |