[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / audio / mac / AudioDestinationMac.cpp
index 764a347..9fe64ba 100644 (file)
@@ -61,7 +61,7 @@ std::unique_ptr<AudioDestination> AudioDestination::create(AudioIOCallback& call
     if (numberOfOutputChannels != 2)
         LOG(Media, "AudioDestination::create(%u, %u, %f) - unhandled output channels", numberOfInputChannels, numberOfOutputChannels, sampleRate);
 
-    return std::make_unique<AudioDestinationMac>(callback, sampleRate);
+    return makeUnique<AudioDestinationMac>(callback, sampleRate);
 }
 
 float AudioDestination::hardwareSampleRate()