[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / rendering / SimpleLineLayout.cpp
index 8c766e6..c362f4e 100644 (file)
@@ -997,7 +997,7 @@ Layout::Layout(const RunVector& runVector, unsigned lineCount, const RenderBlock
 const RunResolver& Layout::runResolver() const
 {
     if (!m_runResolver)
-        m_runResolver = std::make_unique<RunResolver>(m_blockFlowRenderer, *this);
+        m_runResolver = makeUnique<RunResolver>(m_blockFlowRenderer, *this);
     return *m_runResolver;
 }