| Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| index a68ab1cce802edea26ca826df8b4a45f677f401a..2d7feff5ad532ca25baebc5f1d2cd130d4ac7dcb 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -582,18 +582,19 @@ webkit::ppapi::PluginDelegate::PlatformAudioOutput*
|
| PepperPluginDelegateImpl::CreateAudioOutput(
|
| uint32_t sample_rate,
|
| uint32_t sample_count,
|
| - webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client) {
|
| + webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client) {
|
| return PepperPlatformAudioOutputImpl::Create(sample_rate, sample_count,
|
| client);
|
| }
|
|
|
| webkit::ppapi::PluginDelegate::PlatformAudioInput*
|
| PepperPluginDelegateImpl::CreateAudioInput(
|
| + const std::string& device_id,
|
| uint32_t sample_rate,
|
| uint32_t sample_count,
|
| - webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client) {
|
| - return PepperPlatformAudioInputImpl::Create(sample_rate, sample_count,
|
| - client);
|
| + webkit::ppapi::PluginDelegate::PlatformAudioInputClient* client) {
|
| + return PepperPlatformAudioInputImpl::Create(
|
| + AsWeakPtr(), device_id, sample_rate, sample_count, client);
|
| }
|
|
|
| // If a broker has not already been created for this plugin, creates one.
|
|
|