[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / graphics / cocoa / TextTrackRepresentationCocoa.mm
index 6e60ebf..2787468 100644 (file)
@@ -108,7 +108,7 @@ using namespace WebCore;
 
 std::unique_ptr<TextTrackRepresentation> TextTrackRepresentation::create(TextTrackRepresentationClient& client)
 {
-    return std::make_unique<TextTrackRepresentationCocoa>(client);
+    return makeUnique<TextTrackRepresentationCocoa>(client);
 }
 
 TextTrackRepresentationCocoa::TextTrackRepresentationCocoa(TextTrackRepresentationClient& client)