[WebIDL] Add support for converting dictionaries to JS
[WebKit-https.git] / Source / WebCore / css / FontFaceSet.cpp
index 738b08e..5b5268b 100644 (file)
@@ -133,7 +133,7 @@ void FontFaceSet::load(const String& font, const String& text, LoadPromise&& pro
     auto matchingFaces = matchingFacesResult.releaseReturnValue();
 
     if (matchingFaces.isEmpty()) {
-        promise.resolve(Vector<RefPtr<FontFace>>());
+        promise.resolve({ });
         return;
     }