Index: ppapi/proxy/raw_var_data.cc |
diff --git a/ppapi/proxy/raw_var_data.cc b/ppapi/proxy/raw_var_data.cc |
index a550c3fca052892976c32288a6b807fa4cff211f..409345d0b9521bf0cd0d18d341dcc265731aea54 100644 |
--- a/ppapi/proxy/raw_var_data.cc |
+++ b/ppapi/proxy/raw_var_data.cc |
@@ -240,6 +240,13 @@ RawVarData* RawVarData::Create(PP_VarType type) { |
return new ArrayRawVarData(); |
case PP_VARTYPE_DICTIONARY: |
return new DictionaryRawVarData(); |
+ case PP_VARTYPE_RESOURCE: |
+ // TODO(mgiuca): Add ResourceRawVarData. |
+ // This path will be reached if a NaCl module attempts to pass a |
+ // PP_VARTYPE_RESOURCE in a message. |
+ NOTIMPLEMENTED(); |
+ CHECK(false) << "Serializing PP_VARTYPE_RESOURCE is not supported."; |
Matt Giuca
2013/09/03 08:32:22
I agonized about whether to check-fail here or hav
dmichael (off chromium)
2013/09/03 16:25:17
The strategy I think we were going to use for othe
yzshen1
2013/09/03 20:19:53
WRT our discussion, I personally prefer not to giv
dmichael (off chromium)
2013/09/03 20:39:41
I agree; I think we're suggesting the same thing :
Matt Giuca
2013/09/10 01:17:13
So this is a lot more temporary than I let on. I h
|
+ return NULL; |
} |
NOTREACHED(); |
return NULL; |