Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1518)

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 199573004: Remove unnecassary parameter "sampleRate" for loadAudioResource(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.cc
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
index c4b54dc3634eddac5df30ccebac719d03e446210..c2316fa58a6742284b9a3b9142008c7630b3a883 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -782,15 +782,6 @@ bool RendererWebKitPlatformSupportImpl::loadAudioResource(
data_size,
thread_safe_sender_);
}
-// DEPRECATED
-bool RendererWebKitPlatformSupportImpl::loadAudioResource(
- blink::WebAudioBus* destination_bus, const char* audio_file_data,
- size_t data_size, double sample_rate) {
- return DecodeAudioFileData(destination_bus,
- audio_file_data,
- data_size,
- thread_safe_sender_);
-}
#else
bool RendererWebKitPlatformSupportImpl::loadAudioResource(
blink::WebAudioBus* destination_bus, const char* audio_file_data,
@@ -798,13 +789,6 @@ bool RendererWebKitPlatformSupportImpl::loadAudioResource(
return DecodeAudioFileData(
destination_bus, audio_file_data, data_size);
}
-// DEPRECATED
-bool RendererWebKitPlatformSupportImpl::loadAudioResource(
- blink::WebAudioBus* destination_bus, const char* audio_file_data,
- size_t data_size, double sample_rate) {
- return DecodeAudioFileData(
- destination_bus, audio_file_data, data_size);
-}
#endif // defined(OS_ANDROID)
//------------------------------------------------------------------------------
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698