Index: ppapi/proxy/udp_socket_private_resource.cc |
diff --git a/ppapi/proxy/udp_socket_private_resource.cc b/ppapi/proxy/udp_socket_private_resource.cc |
index af43c10fb05e281043f35d3b0476553d9072853e..60afc6f3593f1b8b780329803f595ccbef82e689 100644 |
--- a/ppapi/proxy/udp_socket_private_resource.cc |
+++ b/ppapi/proxy/udp_socket_private_resource.cc |
@@ -41,7 +41,9 @@ int32_t UDPSocketPrivateResource::SetSocketFeature( |
NOTREACHED(); |
return PP_ERROR_BADARGUMENT; |
} |
- int32_t result = SetOptionImpl(public_name, value, NULL); |
+ int32_t result = SetOptionImpl(public_name, value, |
+ true, // Check bind() state. |
+ NULL); |
return result == PP_OK_COMPLETIONPENDING ? PP_OK : result; |
} |