| 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 e68d167a4bb99fe2019ea95871e3c07cf07c3937..b8d1c8f66048b7089264707d16c31a47e223a1e2 100644
|
| --- a/webkit/plugins/ppapi/resource_creation_impl.cc
|
| +++ b/webkit/plugins/ppapi/resource_creation_impl.cc
|
| @@ -28,6 +28,7 @@
|
| #include "webkit/plugins/ppapi/ppb_transport_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"
|
| #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_video_layer_impl.h"
|
| #include "webkit/plugins/ppapi/var.h"
|
| @@ -283,6 +284,14 @@ PP_Resource ResourceCreationImpl::CreateURLRequestInfo(PP_Instance instance) {
|
| return ReturnResource(new PPB_URLRequestInfo_Impl(instance_));
|
| }
|
|
|
| +PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
|
| + scoped_refptr<PPB_VideoCapture_Impl> video_capture =
|
| + new PPB_VideoCapture_Impl(instance_);
|
| + if (!video_capture->Init())
|
| + return 0;
|
| + return ReturnResource(video_capture);
|
| +}
|
| +
|
| PP_Resource ResourceCreationImpl::CreateVideoDecoder(
|
| PP_Instance instance,
|
| PP_Resource context3d_id,
|
|
|