Index: content/renderer/media/renderer_webaudiodevice_impl.cc |
diff --git a/content/renderer/media/renderer_webaudiodevice_impl.cc b/content/renderer/media/renderer_webaudiodevice_impl.cc |
index ef941bec24e00b4c414f38abd6562ecf39c08ba3..2b3d9b7f62f4811e71b4dfcb33b3899cec57579c 100644 |
--- a/content/renderer/media/renderer_webaudiodevice_impl.cc |
+++ b/content/renderer/media/renderer_webaudiodevice_impl.cc |
@@ -104,18 +104,17 @@ |
} // namespace |
-std::unique_ptr<RendererWebAudioDeviceImpl> RendererWebAudioDeviceImpl::Create( |
+RendererWebAudioDeviceImpl* RendererWebAudioDeviceImpl::Create( |
media::ChannelLayout layout, |
int channels, |
const blink::WebAudioLatencyHint& latency_hint, |
WebAudioDevice::RenderCallback* callback, |
int session_id, |
const url::Origin& security_origin) { |
- return std::unique_ptr<RendererWebAudioDeviceImpl>( |
- new RendererWebAudioDeviceImpl(layout, channels, latency_hint, callback, |
- session_id, security_origin, |
- base::Bind(&GetOutputDeviceParameters), |
- base::Bind(&FrameIdFromCurrentContext))); |
+ return new RendererWebAudioDeviceImpl(layout, channels, latency_hint, |
+ callback, session_id, security_origin, |
+ base::Bind(&GetOutputDeviceParameters), |
+ base::Bind(&FrameIdFromCurrentContext)); |
} |
RendererWebAudioDeviceImpl::RendererWebAudioDeviceImpl( |