Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Unified Diff: cc/resources/tile.cc

Issue 246673005: cc: Start using raster/eviction iterators in tile manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/resources/tile.cc
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc
index d59dc029ccc1ca88b0160f3ded59c245a25d5e40..6708d518e8e447c0fe8c3b2ac2428d93de3e94c5 100644
--- a/cc/resources/tile.cc
+++ b/cc/resources/tile.cc
@@ -44,19 +44,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 {

Powered by Google App Engine
This is Rietveld 408576698