Chromium Code Reviews| Index: content/renderer/pepper/resource_creation_impl.cc |
| diff --git a/content/renderer/pepper/resource_creation_impl.cc b/content/renderer/pepper/resource_creation_impl.cc |
| index cb8aa482dad524e7d1362460fdb7feb313b0e290..68456cffe0abcdb1b5f3df65f14c6e5e978d554f 100644 |
| --- a/content/renderer/pepper/resource_creation_impl.cc |
| +++ b/content/renderer/pepper/resource_creation_impl.cc |
| @@ -21,6 +21,7 @@ |
| #include "content/renderer/pepper/resource_helper.h" |
| #include "ppapi/c/pp_size.h" |
| #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
| +#include "ppapi/shared_impl/ppb_audio_shared.h" |
| #include "ppapi/shared_impl/ppb_image_data_shared.h" |
| #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| #include "ppapi/shared_impl/ppb_resource_array_shared.h" |
| @@ -39,13 +40,20 @@ ResourceCreationImpl::ResourceCreationImpl(PepperPluginInstanceImpl* instance) { |
| ResourceCreationImpl::~ResourceCreationImpl() { |
| } |
| +PP_Resource ResourceCreationImpl::CreateAudio1_0( |
| + PP_Instance instance, |
| + PP_Resource config_id, |
| + PPB_Audio_Callback_1_0 audio_callback, |
| + void* user_data) { |
| + return PPB_Audio_Impl::Create(instance, config_id, audio_callback, user_data); |
|
dmichael (off chromium)
2013/08/06 19:43:25
note: You're currently relying on an implicit conv
yzshen1
2013/08/07 20:51:06
Done.
|
| +} |
| + |
| PP_Resource ResourceCreationImpl::CreateAudio( |
| PP_Instance instance, |
| PP_Resource config_id, |
| PPB_Audio_Callback audio_callback, |
| void* user_data) { |
| - return PPB_Audio_Impl::Create(instance, config_id, audio_callback, |
| - user_data); |
| + return PPB_Audio_Impl::Create(instance, config_id, audio_callback, user_data); |
| } |
| PP_Resource ResourceCreationImpl::CreateAudioConfig( |