diff options
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/native_client/src/trusted/plugin/json_manifest.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/json_manifest.cc b/ppapi/native_client/src/trusted/plugin/json_manifest.cc index 0928c05..4a3640f 100644 --- a/ppapi/native_client/src/trusted/plugin/json_manifest.cc +++ b/ppapi/native_client/src/trusted/plugin/json_manifest.cc @@ -42,8 +42,6 @@ const char* const kUrlKey = "url"; // PNaCl keys const char* const kOptLevelKey = "optlevel"; -// DEPRECATED! TODO(jvoung): remove the error message after launch. -const char* const kOptLevelKeyDeprecated = "-O"; // Sample NaCl manifest file: // { @@ -212,14 +210,6 @@ bool IsValidUrlSpec(const Json::Value& url_spec, *error_string = error_stream.str(); return false; } - if (url_spec.isMember(kOptLevelKeyDeprecated)) { - nacl::stringstream error_stream; - error_stream << parent_key << " property '" << container_key << - "' has deprecated key '" << kOptLevelKeyDeprecated << - "' please use '" << kOptLevelKey << "' instead."; - *error_string = error_stream.str(); - return false; - } return true; } |