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

Unified Diff: content/renderer/pepper/message_channel.cc

Issue 18599005: [PPAPI] Added PP_VARTYPE_RESOURCE as a PP_VarType enum value. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix unittest_utils comparison of resource vars. Created 7 years, 3 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 | « no previous file | content/renderer/pepper/npapi_glue.cc » ('j') | ppapi/api/pp_var.idl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/message_channel.cc
diff --git a/content/renderer/pepper/message_channel.cc b/content/renderer/pepper/message_channel.cc
index 14cb9738d05a393c6c1a308c4213697b6556fcd5..f06b787e79587f679349f95a3998c6e55e3af7ba 100644
--- a/content/renderer/pepper/message_channel.cc
+++ b/content/renderer/pepper/message_channel.cc
@@ -104,7 +104,8 @@ PP_Var CopyPPVar(const PP_Var& var) {
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
- // Objects/Arrays/Dictionaries not supported by PostMessage in-process.
+ case PP_VARTYPE_RESOURCE:
+ // These types are not supported by PostMessage in-process.
NOTREACHED();
return PP_MakeUndefined();
}
« no previous file with comments | « no previous file | content/renderer/pepper/npapi_glue.cc » ('j') | ppapi/api/pp_var.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698