[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / API / C / wpe / WKView.cpp
index 78bba39..96406d0 100644 (file)
@@ -68,5 +68,5 @@ void WKViewSetViewClient(WKViewRef view, const WKViewClientBase* client)
         }
     };
 
-    toImpl(view)->setClient(std::make_unique<ViewClient>(client));
+    toImpl(view)->setClient(makeUnique<ViewClient>(client));
 }