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

Unified Diff: cc/resources/managed_tile_state.cc

Issue 22875045: cc: Remove unnecessary "default" cases from switch statements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix HasFilterThatMovesPixels()/HasFilterThatAffectsOpacity() 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
« no previous file with comments | « cc/resources/managed_tile_state.h ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/managed_tile_state.cc
diff --git a/cc/resources/managed_tile_state.cc b/cc/resources/managed_tile_state.cc
index 6f85331dbb2bcce9d645b384a6f8e3cbbac8ae86..cf4a7a7b869520b40757bca3873eb16c2702c75e 100644
--- a/cc/resources/managed_tile_state.cc
+++ b/cc/resources/managed_tile_state.cc
@@ -87,10 +87,9 @@ bool ManagedTileState::TileVersion::IsReadyToDraw() const {
case SOLID_COLOR_MODE:
case PICTURE_PILE_MODE:
return true;
- default:
- NOTREACHED();
- return false;
}
+ NOTREACHED();
+ return false;
}
size_t ManagedTileState::TileVersion::GPUMemoryUsageInBytes() const {
« no previous file with comments | « cc/resources/managed_tile_state.h ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698