[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / Modules / indexeddb / server / IndexValueStore.cpp
index 6983c9d..8d921d8 100644 (file)
@@ -92,7 +92,7 @@ IDBError IndexValueStore::addRecord(const IDBKeyData& indexKey, const IDBKeyData
         return IDBError(ConstraintError);
 
     if (result.isNewEntry)
-        result.iterator->value = std::make_unique<IndexValueEntry>(m_unique);
+        result.iterator->value = makeUnique<IndexValueEntry>(m_unique);
 
     result.iterator->value->addKey(valueKey);
     m_orderedKeys.insert(indexKey);