summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper_plugin_delegate_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/pepper_plugin_delegate_impl.cc')
-rw-r--r--content/renderer/pepper_plugin_delegate_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index b4b5b3f..f8b5355 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -766,7 +766,7 @@ int32_t PepperPluginDelegateImpl::ConnectTcp(
return PP_ERROR_FAILED;
}
- return PP_ERROR_WOULDBLOCK;
+ return PP_OK_COMPLETIONPENDING;
}
int32_t PepperPluginDelegateImpl::ConnectTcpAddress(
@@ -783,7 +783,7 @@ int32_t PepperPluginDelegateImpl::ConnectTcpAddress(
return PP_ERROR_FAILED;
}
- return PP_ERROR_WOULDBLOCK;
+ return PP_OK_COMPLETIONPENDING;
}
void PepperPluginDelegateImpl::OnConnectTcpACK(
@@ -839,7 +839,7 @@ int32_t PepperPluginDelegateImpl::ShowContextMenu(
return PP_ERROR_FAILED;
}
- return PP_ERROR_WOULDBLOCK;
+ return PP_OK_COMPLETIONPENDING;
}
void PepperPluginDelegateImpl::OnContextMenuClosed(