Index: content/renderer/pepper/content_renderer_pepper_host_factory.cc |
diff --git a/content/renderer/pepper/content_renderer_pepper_host_factory.cc b/content/renderer/pepper/content_renderer_pepper_host_factory.cc |
index 3a9c6fef57bd6e8479bcd6d1fb4386809adda0c4..26604f1a7c08603acd3d4d3c90717cad37fb0434 100644 |
--- a/content/renderer/pepper/content_renderer_pepper_host_factory.cc |
+++ b/content/renderer/pepper/content_renderer_pepper_host_factory.cc |
@@ -18,6 +18,7 @@ |
#include "content/renderer/pepper/pepper_truetype_font_host.h" |
#include "content/renderer/pepper/pepper_url_loader_host.h" |
#include "content/renderer/pepper/pepper_video_capture_host.h" |
+#include "content/renderer/pepper/pepper_video_decoder_host.h" |
#include "content/renderer/pepper/pepper_video_destination_host.h" |
#include "content/renderer/pepper/pepper_video_source_host.h" |
#include "content/renderer/pepper/pepper_websocket_host.h" |
@@ -123,6 +124,9 @@ scoped_ptr<ResourceHost> ContentRendererPepperHostFactory::CreateResourceHost( |
case PpapiHostMsg_URLLoader_Create::ID: |
return scoped_ptr<ResourceHost>(new PepperURLLoaderHost( |
host_, false, instance, params.pp_resource())); |
+ case PpapiHostMsg_VideoDecoder_Create::ID: |
+ return scoped_ptr<ResourceHost>( |
+ new PepperVideoDecoderHost(host_, instance, params.pp_resource())); |
case PpapiHostMsg_WebSocket_Create::ID: |
return scoped_ptr<ResourceHost>( |
new PepperWebSocketHost(host_, instance, params.pp_resource())); |