Index: cc/resources/tile.cc |
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc |
index 26e784178a4b5dcdd7a9498c5a6ec1520740bd8e..76127232fdf0cec09291505c53fd99c613d00a8f 100644 |
--- a/cc/resources/tile.cc |
+++ b/cc/resources/tile.cc |
@@ -67,7 +67,7 @@ scoped_ptr<base::Value> Tile::AsValue() const { |
size_t Tile::GPUMemoryUsageInBytes() const { |
size_t total_size = 0; |
- for (int mode = 0; mode < NUM_RASTER_MODES; ++mode) |
+ for (int mode = 0; mode < RasterMode_ARRAYSIZE; ++mode) |
total_size += managed_state_.tile_versions[mode].GPUMemoryUsageInBytes(); |
return total_size; |
} |