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

Unified Diff: cc/resources/prioritized_tile_set.h

Issue 22875045: cc: Remove unnecessary "default" cases from switch statements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/prioritized_tile_set.h
diff --git a/cc/resources/prioritized_tile_set.h b/cc/resources/prioritized_tile_set.h
index 366179b05c8f2a3e64393bfcb35fe52e9efa2070..b9e96773e008483de49b31011c6d3b322a9f6ad2 100644
--- a/cc/resources/prioritized_tile_set.h
+++ b/cc/resources/prioritized_tile_set.h
@@ -53,8 +53,8 @@ class CC_EXPORT PrioritizedTileSet {
void SortBinIfNeeded(ManagedTileBin bin);
typedef scoped_refptr<Tile> TileRef;
- std::vector<TileRef> tiles_[NUM_BINS];
- bool bin_sorted_[NUM_BINS];
+ std::vector<TileRef> tiles_[MAX_BIN + 1];
+ bool bin_sorted_[MAX_BIN + 1];
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698