| 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 a70a1f1f38c9d1bffa348bf461e9cc02b0923d9d..4d12e6714a4acf545a2e171a8417a1bf9fe6a6e6 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -597,18 +597,20 @@ 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(
|
| static_cast<int>(sample_rate), static_cast<int>(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) {
|
| + webkit::ppapi::PluginDelegate::PlatformAudioInputClient* client) {
|
| return PepperPlatformAudioInputImpl::Create(
|
| - static_cast<int>(sample_rate), static_cast<int>(sample_count), client);
|
| + AsWeakPtr(), device_id, static_cast<int>(sample_rate),
|
| + static_cast<int>(sample_count), client);
|
| }
|
|
|
| // If a broker has not already been created for this plugin, creates one.
|
|
|