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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDestination.cpp

Issue 2494333002: Replace wrapUnique(new T(args)) by makeUnique<T>(args) in Blink (Closed)
Patch Set: Drop redundant WTF:: Created 4 years, 1 month 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: third_party/WebKit/Source/platform/audio/AudioDestination.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioDestination.cpp b/third_party/WebKit/Source/platform/audio/AudioDestination.cpp
index 4cccdd9a4682f2157244b6b2ac7c8a6278c20819..39903c682010aa23536b1e7061ebce9d5a012e0b 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDestination.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioDestination.cpp
@@ -126,7 +126,7 @@ AudioDestination::AudioDestination(AudioIOCallback& callback,
AudioUtilities::kRenderQuantumFrames));
// Input buffering.
- m_inputFifo = wrapUnique(new AudioFIFO(numberOfInputChannels, fifoSize));
+ m_inputFifo = makeUnique<AudioFIFO>(numberOfInputChannels, fifoSize);
// If the callback size does not match the render size, then we need to
// buffer some extra silence for the input. Otherwise, we can over-consume
« no previous file with comments | « third_party/WebKit/Source/platform/audio/AudioBus.cpp ('k') | third_party/WebKit/Source/platform/audio/AudioResampler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698