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 ace20f8e9e6732dca18b4861bec656b530a645b7..d2b57f330fc6e0619f14782107926ba237ba1ce7 100644 |
--- a/webkit/plugins/ppapi/resource_creation_impl.cc |
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc |
@@ -25,7 +25,9 @@ |
#include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h" |
#include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
#include "webkit/plugins/ppapi/ppb_scrollbar_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" |
@@ -233,8 +235,7 @@ PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, |
} |
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, |
@@ -246,8 +247,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) { |