LibWeb: Add {,de}serialization steps for DOMQuad

This commit is contained in:
Kenneth Myhra
2024-03-12 21:08:46 +01:00
committed by Andreas Kling
parent d086d0cd92
commit 5397340724
5 changed files with 79 additions and 1 deletions

View File

@@ -40,6 +40,7 @@
#include <LibWeb/Geometry/DOMMatrixReadOnly.h>
#include <LibWeb/Geometry/DOMPoint.h>
#include <LibWeb/Geometry/DOMPointReadOnly.h>
#include <LibWeb/Geometry/DOMQuad.h>
#include <LibWeb/Geometry/DOMRect.h>
#include <LibWeb/Geometry/DOMRectReadOnly.h>
#include <LibWeb/HTML/MessagePort.h>
@@ -987,6 +988,8 @@ private:
return Geometry::DOMRect::create(realm);
if (interface_name == "CryptoKey"sv)
return Crypto::CryptoKey::create(realm);
if (interface_name == "DOMQuad"sv)
return Geometry::DOMQuad::create(realm);
VERIFY_NOT_REACHED();
}