[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / UIProcess / API / Cocoa / WKHTTPCookieStore.mm
index 1372ca4..81d3703 100644 (file)
@@ -108,7 +108,7 @@ private:
     if (!result.isNewEntry)
         return;
 
-    result.iterator->value = std::make_unique<WKHTTPCookieStoreObserver>(observer);
+    result.iterator->value = makeUnique<WKHTTPCookieStoreObserver>(observer);
     _cookieStore->registerObserver(*result.iterator->value);
 }