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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 201303006: Remove deprecated API for createAudioDevice. (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 ce81e56ad01e7de84823417ea0e48fe999543a19..f19a5d03dfb68cdec4e841338a20d5396bb2584b 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -684,29 +684,6 @@ WebDatabaseObserver* RendererWebKitPlatformSupportImpl::databaseObserver() {
return web_database_observer_impl_.get();
}
-// TODO(crogers): remove deprecated API as soon as WebKit calls new API.
-WebAudioDevice*
-RendererWebKitPlatformSupportImpl::createAudioDevice(
- size_t buffer_size,
- unsigned channels,
- double sample_rate,
- WebAudioDevice::RenderCallback* callback) {
- return createAudioDevice(
- buffer_size, 0, channels, sample_rate, callback, "default");
-}
-
-// TODO(crogers): remove deprecated API as soon as WebKit calls new API.
-WebAudioDevice*
-RendererWebKitPlatformSupportImpl::createAudioDevice(
- size_t buffer_size,
- unsigned input_channels,
- unsigned channels,
- double sample_rate,
- WebAudioDevice::RenderCallback* callback) {
- return createAudioDevice(
- buffer_size, input_channels, channels, sample_rate, callback, "default");
-}
-
WebAudioDevice*
RendererWebKitPlatformSupportImpl::createAudioDevice(
size_t buffer_size,
« 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