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

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 tests; slightly better behaviour if user passes a resource to a message. 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') | content/renderer/pepper/v8_var_converter.cc » ('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 efcdfb3626c5817f78811bcd219612314a3e5897..06217aae8185f634da7ed691cd5b687dc5f5da15 100644
--- a/content/renderer/pepper/message_channel.cc
+++ b/content/renderer/pepper/message_channel.cc
@@ -104,6 +104,7 @@ PP_Var CopyPPVar(const PP_Var& var) {
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
+ case PP_VARTYPE_RESOURCE:
// Objects/Arrays/Dictionaries not supported by PostMessage in-process.
dmichael (off chromium) 2013/09/03 16:25:17 Maybe update the comment to just say "These types
Matt Giuca 2013/09/10 01:17:13 Done. (We'll have to see about RESOURCE in proces
NOTREACHED();
return PP_MakeUndefined();
« no previous file with comments | « no previous file | content/renderer/pepper/npapi_glue.cc » ('j') | content/renderer/pepper/v8_var_converter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698