mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 18:23:39 +00:00
LibWeb: Add {,de}serialization steps for DOMRectReadonly
This commit is contained in:
parent
b7006b2423
commit
9f5fa4f4a0
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/kennethmyhra
Commit: 9f5fa4f4a0
Pull-request: https://github.com/SerenityOS/serenity/pull/23538
Reviewed-by: https://github.com/ADKaster
5 changed files with 63 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
|||
#include <LibWeb/Geometry/DOMMatrixReadOnly.h>
|
||||
#include <LibWeb/Geometry/DOMPoint.h>
|
||||
#include <LibWeb/Geometry/DOMPointReadOnly.h>
|
||||
#include <LibWeb/Geometry/DOMRectReadOnly.h>
|
||||
#include <LibWeb/HTML/MessagePort.h>
|
||||
#include <LibWeb/HTML/StructuredSerialize.h>
|
||||
#include <LibWeb/WebIDL/ExceptionOr.h>
|
||||
|
@ -975,6 +976,8 @@ private:
|
|||
return Geometry::DOMPointReadOnly::create(realm);
|
||||
if (interface_name == "DOMPoint"sv)
|
||||
return Geometry::DOMPoint::create(realm);
|
||||
if (interface_name == "DOMRectReadOnly"sv)
|
||||
return Geometry::DOMRectReadOnly::create(realm);
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue