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

Unified Diff: cc/resources/raster_mode.cc

Issue 22911037: cc: Add DEFINE_ENUM macro. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/raster_mode.h ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_mode.cc
diff --git a/cc/resources/raster_mode.cc b/cc/resources/raster_mode.cc
index 47d6344c97d8b41731aa169a4c8a3ded2723575f..dfcc961afc030bcc9b28a503e748581b58fd75a9 100644
--- a/cc/resources/raster_mode.cc
+++ b/cc/resources/raster_mode.cc
@@ -21,11 +21,10 @@ scoped_ptr<base::Value> RasterModeAsValue(RasterMode raster_mode) {
case LOW_QUALITY_RASTER_MODE:
return scoped_ptr<base::Value>(
base::Value::CreateStringValue("LOW_QUALITY_RASTER_MODE"));
- default:
- NOTREACHED() << "Unrecognized RasterMode value " << raster_mode;
- return scoped_ptr<base::Value>(
- base::Value::CreateStringValue("<unknown RasterMode value>"));
}
+ NOTREACHED() << "Unrecognized RasterMode value " << raster_mode;
+ return scoped_ptr<base::Value>(
+ base::Value::CreateStringValue("<unknown RasterMode value>"));
}
} // namespace cc
« no previous file with comments | « cc/resources/raster_mode.h ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698