Index: cc/resources/tile_priority.h |
diff --git a/cc/resources/tile_priority.h b/cc/resources/tile_priority.h |
index 5c92d2f178e6c60540fbfae3814872adb10f03b9..acfd5f80bd41f6d1e2d3eea7953a463adc1f9cc0 100644 |
--- a/cc/resources/tile_priority.h |
+++ b/cc/resources/tile_priority.h |
@@ -26,7 +26,7 @@ enum WhichTree { |
// e.g. in Tile::priority_. |
ACTIVE_TREE = 0, |
PENDING_TREE = 1, |
- NUM_TREES = 2 |
+ MAX_TREE = PENDING_TREE |
// Be sure to update WhichTreeAsValue when adding new fields. |
}; |
scoped_ptr<base::Value> WhichTreeAsValue( |
@@ -137,7 +137,7 @@ enum TileMemoryLimitPolicy { |
// You're the only thing in town. Go crazy. |
ALLOW_ANYTHING = 3, // Venti. |
- NUM_TILE_MEMORY_LIMIT_POLICIES = 4, |
+ MAX_TILE_MEMORY_LIMIT_POLICY = ALLOW_ANYTHING, |
// NOTE: Be sure to update TreePriorityAsValue and kBinPolicyMap when adding |
// or reordering fields. |