Index: cc/resources/tile_priority.h |
diff --git a/cc/resources/tile_priority.h b/cc/resources/tile_priority.h |
index 5247b3c2454709545234346aa4408c0841f43a1e..5067aa6f4db98fc630eb00881f132356cd59fe44 100644 |
--- a/cc/resources/tile_priority.h |
+++ b/cc/resources/tile_priority.h |
@@ -24,7 +24,7 @@ enum WhichTree { |
// e.g. in Tile::priority_. |
ACTIVE_TREE = 0, |
PENDING_TREE = 1, |
- LAST_TREE = 1 |
+ NUM_TREES = 2 |
// Be sure to update WhichTreeAsValue when adding new fields. |
}; |
scoped_ptr<base::Value> WhichTreeAsValue(WhichTree tree); |
@@ -118,7 +118,7 @@ enum TreePriority { |
SAME_PRIORITY_FOR_BOTH_TREES, |
SMOOTHNESS_TAKES_PRIORITY, |
NEW_CONTENT_TAKES_PRIORITY, |
- LAST_TREE_PRIORITY = NEW_CONTENT_TAKES_PRIORITY |
+ NUM_TREE_PRIORITIES |
// Be sure to update TreePriorityAsValue when adding new fields. |
}; |
std::string TreePriorityToString(TreePriority prio); |