[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / API / glib / WebKitFormClient.cpp
index 134d1c6..bc67a35 100644 (file)
@@ -48,5 +48,5 @@ private:
 
 void attachFormClientToView(WebKitWebView* webView)
 {
-    webkitWebViewGetPage(webView).setFormClient(std::make_unique<FormClient>(webView));
+    webkitWebViewGetPage(webView).setFormClient(makeUnique<FormClient>(webView));
 }