[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / API / glib / WebKitAutomationSession.cpp
index 58cd03c..2186604 100644 (file)
@@ -224,7 +224,7 @@ static void webkitAutomationSessionConstructed(GObject* object)
 
     session->priv->session = adoptRef(new WebAutomationSession());
     session->priv->session->setSessionIdentifier(String::fromUTF8(session->priv->id.data()));
-    session->priv->session->setClient(std::make_unique<AutomationSessionClient>(session));
+    session->priv->session->setClient(makeUnique<AutomationSessionClient>(session));
 }
 
 static void webkitAutomationSessionDispose(GObject* object)