diff options
| -rw-r--r-- | chrome/common/render_messages_params.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc index 78e1d72..4459c17 100644 --- a/chrome/common/render_messages_params.cc +++ b/chrome/common/render_messages_params.cc @@ -223,7 +223,7 @@ struct ParamTraits<Extension::Location> { int val = 0; if (!ReadParam(m, iter, &val) || val < Extension::INVALID || - val >= Extension::EXTERNAL_PREF_DOWNLOAD) + val > Extension::EXTERNAL_PREF_DOWNLOAD) return false; *p = static_cast<param_type>(val); return true; |
