[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / audio / HRTFDatabaseLoader.cpp
index f45be84..a474a70 100644 (file)
@@ -85,7 +85,7 @@ void HRTFDatabaseLoader::load()
     ASSERT(!isMainThread());
     if (!m_hrtfDatabase.get()) {
         // Load the default HRTF database.
-        m_hrtfDatabase = std::make_unique<HRTFDatabase>(m_databaseSampleRate);
+        m_hrtfDatabase = makeUnique<HRTFDatabase>(m_databaseSampleRate);
     }
 }