LibWeb: Add {,de}serialization steps for DOMMatrix

This commit is contained in:
Kenneth Myhra 2024-03-09 22:41:26 +01:00 committed by Andreas Kling
commit 8d2f7cfb58
Notes: sideshowbarker 2024-07-17 05:00:08 +09:00
5 changed files with 27 additions and 0 deletions

View file

@ -35,6 +35,7 @@
#include <LibWeb/Bindings/Transferable.h>
#include <LibWeb/FileAPI/Blob.h>
#include <LibWeb/FileAPI/File.h>
#include <LibWeb/Geometry/DOMMatrix.h>
#include <LibWeb/Geometry/DOMMatrixReadOnly.h>
#include <LibWeb/HTML/MessagePort.h>
#include <LibWeb/HTML/StructuredSerialize.h>
@ -966,6 +967,8 @@ private:
return FileAPI::File::create(realm);
if (interface_name == "DOMMatrixReadOnly"sv)
return Geometry::DOMMatrixReadOnly::create(realm);
if (interface_name == "DOMMatrix"sv)
return Geometry::DOMMatrix::create(realm);
VERIFY_NOT_REACHED();
}