[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / graphics / cg / ImageBufferCG.cpp
index 80b5d4f..d35ff0e 100644 (file)
@@ -187,7 +187,7 @@ ImageBuffer::ImageBuffer(const FloatSize& size, float resolutionScale, CGColorSp
         if (!cgContext)
             return;
 
-        m_data.context = std::make_unique<GraphicsContext>(cgContext.get());
+        m_data.context = makeUnique<GraphicsContext>(cgContext.get());
     }
 
     context().scale(FloatSize(1, -1));