[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / html / HTMLFormElement.cpp
index c76d493..435d951 100644 (file)
@@ -791,7 +791,7 @@ void HTMLFormElement::addToPastNamesMap(FormNamedItem* item, const AtomString& p
     if (pastName.isEmpty())
         return;
     if (!m_pastNamesMap)
-        m_pastNamesMap = std::make_unique<PastNamesMap>();
+        m_pastNamesMap = makeUnique<PastNamesMap>();
     m_pastNamesMap->set(pastName.impl(), item);
 }