[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / audio / AudioChannel.h
index 847e52a..7b9893d 100644 (file)
@@ -57,7 +57,7 @@ public:
         , m_rawPointer(0)
         , m_silent(true)
     {
-        m_memBuffer = std::make_unique<AudioFloatArray>(length);
+        m_memBuffer = makeUnique<AudioFloatArray>(length);
     }
 
     // A "blank" audio channel -- must call set() before it's useful...