[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / graphics / PathUtilities.cpp
index 3e68805..5ad9334 100644 (file)
@@ -89,7 +89,7 @@ FloatPointGraph::Node* FloatPointGraph::findOrCreateNode(FloatPoint point)
             return testNode.get();
     }
 
-    m_allNodes.append(std::make_unique<FloatPointGraph::Node>(point));
+    m_allNodes.append(makeUnique<FloatPointGraph::Node>(point));
     return m_allNodes.last().get();
 }