[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / Modules / indexeddb / shared / IDBTransactionInfo.h
index 930d802..7b9477e 100644 (file)
@@ -119,7 +119,7 @@ bool IDBTransactionInfo::decode(Decoder& decoder, IDBTransactionInfo& info)
         return false;
 
     if (hasObject) {
-        std::unique_ptr<IDBDatabaseInfo> object = std::make_unique<IDBDatabaseInfo>();
+        std::unique_ptr<IDBDatabaseInfo> object = makeUnique<IDBDatabaseInfo>();
         if (!decoder.decode(*object))
             return false;
         info.m_originalDatabaseInfo = WTFMove(object);