[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / Modules / quota / WorkerNavigatorStorageQuota.cpp
index 95c3e43..1a1c847 100644 (file)
@@ -51,7 +51,7 @@ WorkerNavigatorStorageQuota* WorkerNavigatorStorageQuota::from(WorkerNavigator*
 {
     WorkerNavigatorStorageQuota* supplement = static_cast<WorkerNavigatorStorageQuota*>(Supplement<WorkerNavigator>::from(navigator, supplementName()));
     if (!supplement) {
-        auto newSupplement = std::make_unique<WorkerNavigatorStorageQuota>(window);
+        auto newSupplement = makeUnique<WorkerNavigatorStorageQuota>(window);
         supplement = newSupplement.get();
         provideTo(navigator, supplementName(), WTFMove(newSupplement));
     }