Index: webkit/plugins/ppapi/resource_creation_impl.cc |
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc |
index 992d6e854c11f71a17636ba6cdaaa2d3e3273ab0..e99b3d2e30993ea53770f832e4853c6cbd53cf21 100644 |
--- a/webkit/plugins/ppapi/resource_creation_impl.cc |
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc |
@@ -27,7 +27,9 @@ |
#include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
#include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" |
#include "webkit/plugins/ppapi/ppb_surface_3d_impl.h" |
+#include "webkit/plugins/ppapi/ppb_tcp_socket_private_impl.h" |
#include "webkit/plugins/ppapi/ppb_transport_impl.h" |
+#include "webkit/plugins/ppapi/ppb_udp_socket_private_impl.h" |
#include "webkit/plugins/ppapi/ppb_url_loader_impl.h" |
#include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" |
#include "webkit/plugins/ppapi/ppb_video_capture_impl.h" |
@@ -261,8 +263,7 @@ PP_Resource ResourceCreationImpl::CreateSurface3D( |
PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { |
- // Creating TCP socket resource at the renderer side is not supported. |
- return 0; |
+ return PPB_TCPSocket_Private_Impl::CreateResource(instance); |
} |
PP_Resource ResourceCreationImpl::CreateTransport(PP_Instance instance, |
@@ -274,8 +275,7 @@ PP_Resource ResourceCreationImpl::CreateTransport(PP_Instance instance, |
} |
PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { |
- // Creating UDP socket resource at the renderer side is not supported. |
- return 0; |
+ return PPB_UDPSocket_Private_Impl::CreateResource(instance); |
} |
PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) { |