[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKit / WebProcess / InjectedBundle / API / glib / WebKitExtensionManager.cpp
index 4ccec62..4d742e4 100644 (file)
@@ -103,7 +103,7 @@ void WebKitExtensionManager::initialize(InjectedBundle* bundle, API::Object* use
     scanModules(webExtensionsDirectory, modulePaths);
 
     for (size_t i = 0; i < modulePaths.size(); ++i) {
-        auto module = std::make_unique<Module>(modulePaths[i]);
+        auto module = makeUnique<Module>(modulePaths[i]);
         if (!module->load())
             continue;
         if (initializeWebExtension(module.get(), userData.get()))