Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 11274036: Refactor video capture to new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: export Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_video_capture_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0a85d9f009ff2b74da021278dee6f9e8638740b6..1f6d904857573b3776b9489b1deae328ad874153 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -29,7 +29,6 @@
#include "webkit/plugins/ppapi/ppb_tcp_socket_private_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_video_capture_impl.h"
#include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
#include "webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h"
#include "webkit/plugins/ppapi/resource_helper.h"
@@ -272,11 +271,7 @@ PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance 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 video_capture->GetReference();
+ return 0; // VideoCapture is not supported in process now.
}
PP_Resource ResourceCreationImpl::CreateVideoDecoder(
« no previous file with comments | « webkit/plugins/ppapi/ppb_video_capture_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698