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

Unified Diff: content/public/common/window_container_type.h

Issue 1091773002: Apply automatic range checks to content enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply automatic range checks to content enum types across IPC. Created 5 years, 8 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 | « content/common/view_messages.h ('k') | ui/gfx/font_render_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/window_container_type.h
diff --git a/content/public/common/window_container_type.h b/content/public/common/window_container_type.h
index 1d3b46fe6b1e77c7a413bcf576906b29ab4916b7..3c9e728f959bf5a1c0b22e2ffc0608ffed118259 100644
--- a/content/public/common/window_container_type.h
+++ b/content/public/common/window_container_type.h
@@ -25,7 +25,7 @@ enum WindowContainerType {
// reference it.
WINDOW_CONTAINER_TYPE_PERSISTENT,
- WINDOW_CONTAINER_TYPE_MAX_VALUE
+ WINDOW_CONTAINER_TYPE_MAX_VALUE = WINDOW_CONTAINER_TYPE_PERSISTENT,
};
// Conversion function:
« no previous file with comments | « content/common/view_messages.h ('k') | ui/gfx/font_render_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698