| Index: cc/resources/tile.cc
|
| diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc
|
| index d59dc029ccc1ca88b0160f3ded59c245a25d5e40..16252ede5b4f1bf6e20e99b52c4be8662e110db8 100644
|
| --- a/cc/resources/tile.cc
|
| +++ b/cc/resources/tile.cc
|
| @@ -25,7 +25,6 @@ Tile::Tile(TileManager* tile_manager,
|
| int source_frame_number,
|
| int flags)
|
| : RefCountedManaged<Tile>(tile_manager),
|
| - tile_manager_(tile_manager),
|
| tile_size_(tile_size),
|
| content_rect_(content_rect),
|
| contents_scale_(contents_scale),
|
| @@ -44,19 +43,11 @@ Tile::~Tile() {
|
| }
|
|
|
| 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);
|
| }
|
|
|
| scoped_ptr<base::Value> Tile::AsValue() const {
|
|
|