1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:47:44 +00:00

LibWeb: Remove WRAPPER_HACK() macro

We no longer access Bindings::FooWrapper anywhere for a Foo platform
object, so these can be removed :^)
This commit is contained in:
Linus Groh 2022-09-21 17:45:36 +01:00
parent 6055b0e850
commit 4270ede7c4
196 changed files with 0 additions and 394 deletions

View file

@ -16,11 +16,6 @@ namespace Web::Bindings {
#define WEB_PLATFORM_OBJECT(class_, base_class) \
JS_OBJECT(class_, base_class)
#define WRAPPER_HACK(class_, namespace_) \
namespace Web::Bindings { \
using class_##Wrapper = namespace_::class_; \
}
// https://webidl.spec.whatwg.org/#dfn-platform-object
class PlatformObject
: public JS::Object