[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / RemoteLayerTree / mac / ScrollingTreeOverflowScrollingNodeRemoteMac.cpp
index d8960ce..b6ca3cb 100644 (file)
@@ -41,7 +41,7 @@ Ref<ScrollingTreeOverflowScrollingNodeRemoteMac> ScrollingTreeOverflowScrollingN
 
 ScrollingTreeOverflowScrollingNodeRemoteMac::ScrollingTreeOverflowScrollingNodeRemoteMac(ScrollingTree& tree, ScrollingNodeID nodeID)
     : ScrollingTreeOverflowScrollingNodeMac(tree, nodeID)
-    , m_scrollerPair(std::make_unique<ScrollerPairMac>(*this))
+    , m_scrollerPair(makeUnique<ScrollerPairMac>(*this))
 {
 }