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

Unified Diff: content/renderer/media/renderer_webaudiodevice_impl.h

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 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
Index: content/renderer/media/renderer_webaudiodevice_impl.h
diff --git a/content/renderer/media/renderer_webaudiodevice_impl.h b/content/renderer/media/renderer_webaudiodevice_impl.h
index 21e403f659d056133194d5a716d55fa0c17e0dd2..ecadadcb19e2202766a0b100d927149981476da0 100644
--- a/content/renderer/media/renderer_webaudiodevice_impl.h
+++ b/content/renderer/media/renderer_webaudiodevice_impl.h
@@ -33,7 +33,7 @@ class CONTENT_EXPORT RendererWebAudioDeviceImpl
public:
~RendererWebAudioDeviceImpl() override;
- static RendererWebAudioDeviceImpl* Create(
+ static std::unique_ptr<RendererWebAudioDeviceImpl> Create(
media::ChannelLayout layout,
int channels,
const blink::WebAudioLatencyHint& latency_hint,
« no previous file with comments | « content/renderer/input/input_handler_wrapper.cc ('k') | content/renderer/media/renderer_webaudiodevice_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698