Index: ppapi/host/ppapi_host.cc |
diff --git a/ppapi/host/ppapi_host.cc b/ppapi/host/ppapi_host.cc |
index 1361da2fe80dbb7fe62458e233513aa5ebf9dc8e..44d3ee5d390149618a2fb105e6cd3b213aba3f11 100644 |
--- a/ppapi/host/ppapi_host.cc |
+++ b/ppapi/host/ppapi_host.cc |
@@ -139,6 +139,11 @@ void PpapiHost::HandleResourceCall( |
// When no response is required, the message handler should not have |
// written a message to be returned. |
DCHECK(context->reply_msg.type() == 0); |
+ |
+ // If there is no callback and the result of running the message handler |
+ // was not PP_OK the client won't find out. |
+ DLOG_IF(WARNING, reply_context.params.result() != PP_OK) |
+ << "'Post' message handler failed to complete successfully."; |
} |
} else { |
reply_context.params.set_result(PP_ERROR_BADRESOURCE); |