| Index: webkit/glue/webkitplatformsupport_impl.cc
|
| diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
|
| index bb06120ab85ae73ee87eb9b9da2c00472f9afc54..f5027b78f0b913e1a0df7e84c32dcb092c33a73c 100644
|
| --- a/webkit/glue/webkitplatformsupport_impl.cc
|
| +++ b/webkit/glue/webkitplatformsupport_impl.cc
|
| @@ -675,10 +675,20 @@ WebData WebKitPlatformSupportImpl::loadResource(const char* name) {
|
| bool WebKitPlatformSupportImpl::loadAudioResource(
|
| WebKit::WebAudioBus* destination_bus, const char* audio_file_data,
|
| size_t data_size, double sample_rate) {
|
| +#if !defined(OS_ANDROID)
|
| return webkit_media::DecodeAudioFileData(destination_bus,
|
| audio_file_data,
|
| data_size,
|
| sample_rate);
|
| +#else
|
| + webkit_media::WebAudioMediaCodecRunner runner = GetWebAudioMediaCodecRunner();
|
| + return webkit_media::DecodeAudioFileData(
|
| + destination_bus,
|
| + audio_file_data,
|
| + data_size,
|
| + sample_rate,
|
| + runner);
|
| +#endif
|
| }
|
|
|
| WebString WebKitPlatformSupportImpl::queryLocalizedString(
|
|
|