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 30d18127ab9bacfdb6c959459074367b36801216..b14cf74297a3e9455247429a6621b1d8c259b7eb 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -888,6 +888,7 @@ PepperPluginDelegateImpl::CreateAudioOutput( |
uint32_t sample_count, |
webkit::ppapi::PluginDelegate::PlatformAudioOutputClient* client) { |
return PepperPlatformAudioOutputImpl::Create( |
+ render_view_->GetRoutingID(), |
static_cast<int>(sample_rate), static_cast<int>(sample_count), client); |
} |
@@ -898,6 +899,7 @@ PepperPluginDelegateImpl::CreateAudioInput( |
uint32_t sample_count, |
webkit::ppapi::PluginDelegate::PlatformAudioInputClient* client) { |
return PepperPlatformAudioInputImpl::Create( |
+ render_view_->GetRoutingID(), |
AsWeakPtr(), device_id, static_cast<int>(sample_rate), |
static_cast<int>(sample_count), client); |
} |