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

Unified Diff: cc/quads/io_surface_draw_quad.h

Issue 149033003: Apply automatic range checks to CC enum types across IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/quads/draw_quad.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/io_surface_draw_quad.h
diff --git a/cc/quads/io_surface_draw_quad.h b/cc/quads/io_surface_draw_quad.h
index c2307ceaddb1824ebdf5a2034cfd46392e978a22..9a9fa09bb3d3c8e1db9a0a0e8dd99909b81222e7 100644
--- a/cc/quads/io_surface_draw_quad.h
+++ b/cc/quads/io_surface_draw_quad.h
@@ -16,7 +16,8 @@ class CC_EXPORT IOSurfaceDrawQuad : public DrawQuad {
public:
enum Orientation {
FLIPPED,
- UNFLIPPED
+ UNFLIPPED,
+ ORIENTATION_LAST = UNFLIPPED
};
static scoped_ptr<IOSurfaceDrawQuad> Create();
« no previous file with comments | « cc/quads/draw_quad.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698