summaryrefslogtreecommitdiffstats
path: root/ppapi/host/ppapi_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/host/ppapi_host.cc')
-rw-r--r--ppapi/host/ppapi_host.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/host/ppapi_host.cc b/ppapi/host/ppapi_host.cc
index 14a3a4f..247c781 100644
--- a/ppapi/host/ppapi_host.cc
+++ b/ppapi/host/ppapi_host.cc
@@ -91,7 +91,8 @@ void PpapiHost::OnHostMsgResourceCall(
reply_params.set_result(resource_host->OnResourceMessageReceived(
nested_msg, &context));
- // Sanity check the resource handler.
+ // Sanity check the resource handler. Note if the result was
+ // "completion pending" the resource host may have already sent the reply.
if (reply_params.result() == PP_OK_COMPLETIONPENDING) {
// Message handler should have only returned a pending result if a
// response will be sent to the plugin.