[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / graphics / nicosia / cairo / NicosiaCairoOperationRecorder.cpp
index 2b1aecf..50e0c3c 100644 (file)
@@ -68,7 +68,7 @@ auto createCommand(Args&&... arguments) -> std::enable_if_t<std::is_base_of<Oper
 template<typename T>
 auto createCommand() -> std::enable_if_t<std::is_base_of<OperationData<>, T>::value, std::unique_ptr<PaintingOperation>>
 {
-    return std::make_unique<T>();
+    return makeUnique<T>();
 }
 
 CairoOperationRecorder::CairoOperationRecorder(GraphicsContext& context, PaintingOperations& commandList)