diff options
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.cc')
-rw-r--r-- | ppapi/proxy/resource_creation_proxy.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc index d91f30d..90535fe 100644 --- a/ppapi/proxy/resource_creation_proxy.cc +++ b/ppapi/proxy/resource_creation_proxy.cc @@ -329,6 +329,17 @@ PP_Resource ResourceCreationProxy::CreateUDPSocketPrivate( GetConnection(), instance))->GetReference(); } +PP_Resource ResourceCreationProxy::CreateVideoDestination( + PP_Instance instance) { + return (new VideoDestinationResource(GetConnection(), + instance))->GetReference(); +} + +PP_Resource ResourceCreationProxy::CreateVideoSource( + PP_Instance instance) { + return (new VideoSourceResource(GetConnection(), instance))->GetReference(); +} + PP_Resource ResourceCreationProxy::CreateWebSocket(PP_Instance instance) { return (new WebSocketResource(GetConnection(), instance))->GetReference(); } @@ -418,17 +429,6 @@ PP_Resource ResourceCreationProxy::CreateVideoDecoder( instance, context3d_id, profile); } -PP_Resource ResourceCreationProxy::CreateVideoDestination( - PP_Instance instance) { - return (new VideoDestinationResource(GetConnection(), - instance))->GetReference(); -} - -PP_Resource ResourceCreationProxy::CreateVideoSource( - PP_Instance instance) { - return (new VideoSourceResource(GetConnection(), instance))->GetReference(); -} - #endif // !defined(OS_NACL) bool ResourceCreationProxy::Send(IPC::Message* msg) { |