mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibWeb: Remove now-unused Bindings::wrap()
This commit is contained in:
parent
266136b32f
commit
1bd4ad8b6d
1 changed files with 3 additions and 7 deletions
|
@ -24,13 +24,9 @@ namespace Web::Bindings {
|
|||
return *this; \
|
||||
}
|
||||
|
||||
#define WRAPPER_HACK(class_, namespace_) \
|
||||
namespace Web::Bindings { \
|
||||
inline JS::Object* wrap(JS::Realm&, namespace_::class_& object) \
|
||||
{ \
|
||||
return &object; \
|
||||
} \
|
||||
using class_##Wrapper = namespace_::class_; \
|
||||
#define WRAPPER_HACK(class_, namespace_) \
|
||||
namespace Web::Bindings { \
|
||||
using class_##Wrapper = namespace_::class_; \
|
||||
}
|
||||
|
||||
// https://webidl.spec.whatwg.org/#dfn-platform-object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue