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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc

Issue 9022021: Proxy PPB_ArrayBuffer_Dev, make them work over Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add testing for multiple sizes of array. Created 9 years 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
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc
index b8ef263eba846770b576215951e8fb7385d13884..d4645f3fd868c3e174c753ed148b22e839a3224c 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_messaging_rpc_server.cc
@@ -23,8 +23,10 @@ void PppMessagingRpcServer::PPP_Messaging_HandleMessage(
NaClSrpcClosureRunner runner(done);
PP_Var message;
- if (!DeserializeTo(message_bytes, message_size, 1, &message))
+ if (!DeserializeTo(message_bytes, message_size, 1, &message)) {
+ DebugPrintf("PPP_Messaging::HandleMessage, DeserializeTo failed!\n");
return;
+ }
PPPMessagingInterface()->HandleMessage(instance, message);
DebugPrintf("PPP_Messaging::HandleMessage\n");
rpc->result = NACL_SRPC_RESULT_OK;

Powered by Google App Engine
This is Rietveld 408576698