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

Unified Diff: cc/resources/raster_mode.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/raster_mode.h
diff --git a/cc/resources/raster_mode.h b/cc/resources/raster_mode.h
index 9868059e0b7015c5a885ed92adc117d3e08fb176..428989a31927220f635228c235d04b15aec598c8 100644
--- a/cc/resources/raster_mode.h
+++ b/cc/resources/raster_mode.h
@@ -21,7 +21,7 @@ enum RasterMode {
HIGH_QUALITY_NO_LCD_RASTER_MODE = 0,
HIGH_QUALITY_RASTER_MODE = 1,
LOW_QUALITY_RASTER_MODE = 2,
- NUM_RASTER_MODES = 3
+ MAX_RASTER_MODE = LOW_QUALITY_RASTER_MODE
};
scoped_ptr<base::Value> RasterModeAsValue(RasterMode mode);

Powered by Google App Engine
This is Rietveld 408576698