Chromium Code Reviews| Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
| index b2b43863331fc0cfa20dab786acb5db6e4c9ae23..3fc8ec446f7f6cc41dde88ebd99c470f82aaf498 100644 |
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
| @@ -610,7 +610,11 @@ RendererWebKitPlatformSupportImpl::createAudioDevice( |
| media::AudioParameters::AUDIO_PCM_LOW_LATENCY, layout, |
| static_cast<int>(sampleRate), 16, bufferSize); |
| - return new RendererWebAudioDeviceImpl(params, callback); |
| + // TODO(miu): This method should be moved to RenderViewImpl. First, a WebKit |
| + // change must land: https://bugs.webkit.org/show_bug.cgi?id=92718 |
| + // This issue is being tracked in http://crbug.com/156535. For now, a stub: |
| + static const int kUnknownRenderViewId = -1; |
| + return new RendererWebAudioDeviceImpl(kUnknownRenderViewId, params, callback); |
|
jamesr
2012/10/29 22:51:02
I think this is not quite the right way to plumb t
|
| } |
| //------------------------------------------------------------------------------ |