[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / API / APIHTTPCookieStore.cpp
index 981a985..e122ee3 100644 (file)
@@ -148,7 +148,7 @@ void HTTPCookieStore::registerObserver(Observer& observer)
 
     ASSERT(!m_observedCookieManagerProxy);
 
-    m_cookieManagerProxyObserver = std::make_unique<APIWebCookieManagerProxyObserver>(*this);
+    m_cookieManagerProxyObserver = makeUnique<APIWebCookieManagerProxyObserver>(*this);
 
     auto* pool = m_owningDataStore->processPoolForCookieStorageOperations();