Index: ppapi/host/ppapi_host.cc |
diff --git a/ppapi/host/ppapi_host.cc b/ppapi/host/ppapi_host.cc |
index 14a3a4f3860b4fe84933b81f9fa34b99ae6e7131..247c78184ff0e83b821fc84fea37432513673568 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. |