mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 16:46:08 +00:00
LibWeb: Remove now-unused Bindings::wrap()
This commit is contained in:
parent
266136b32f
commit
1bd4ad8b6d
Notes:
sideshowbarker
2024-07-17 09:56:35 +09:00
Author: https://github.com/awesomekling
Commit: 1bd4ad8b6d
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
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