[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / rendering / style / BasicShapes.cpp
index 0c98f91..744c90b 100644 (file)
@@ -358,7 +358,7 @@ Ref<BasicShape> BasicShapePath::blend(const BasicShape& from, double progress) c
 
     auto& fromPath = downcast<BasicShapePath>(from);
 
-    auto resultingPathBytes = std::make_unique<SVGPathByteStream>();
+    auto resultingPathBytes = makeUnique<SVGPathByteStream>();
     buildAnimatedSVGPathByteStream(*fromPath.m_byteStream, *m_byteStream, *resultingPathBytes, progress);
 
     auto result = BasicShapePath::create(WTFMove(resultingPathBytes));