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 ece53e0c48089cb480506bee99e86eee35b4570e..b464bb37bc92d5b0078acf3546422050a587c3b6 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -598,8 +598,8 @@ PepperPluginDelegateImpl::CreateAudioOutput( |
uint32_t sample_rate, |
uint32_t sample_count, |
webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client) { |
- return PepperPlatformAudioOutputImpl::Create(sample_rate, sample_count, |
- client); |
+ return PepperPlatformAudioOutputImpl::Create( |
+ static_cast<int>(sample_rate), static_cast<int>(sample_count), client); |
} |
webkit::ppapi::PluginDelegate::PlatformAudioInput* |
@@ -607,8 +607,8 @@ PepperPluginDelegateImpl::CreateAudioInput( |
uint32_t sample_rate, |
uint32_t sample_count, |
webkit::ppapi::PluginDelegate::PlatformAudioCommonClient* client) { |
- return PepperPlatformAudioInputImpl::Create(sample_rate, sample_count, |
- client); |
+ return PepperPlatformAudioInputImpl::Create( |
+ static_cast<int>(sample_rate), static_cast<int>(sample_count), client); |
} |
// If a broker has not already been created for this plugin, creates one. |