mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibWeb: Remove no-op impl() methods from the WEB_PLATFORM_OBJECT macro
These are leftovers from when wrapper objects still had an internal implementation, which is no longer the case.
This commit is contained in:
parent
2cab2a8e8f
commit
6055b0e850
14 changed files with 28 additions and 39 deletions
|
@ -14,15 +14,7 @@
|
|||
namespace Web::Bindings {
|
||||
|
||||
#define WEB_PLATFORM_OBJECT(class_, base_class) \
|
||||
JS_OBJECT(class_, base_class) \
|
||||
auto& impl() \
|
||||
{ \
|
||||
return *this; \
|
||||
} \
|
||||
auto const& impl() const \
|
||||
{ \
|
||||
return *this; \
|
||||
}
|
||||
JS_OBJECT(class_, base_class)
|
||||
|
||||
#define WRAPPER_HACK(class_, namespace_) \
|
||||
namespace Web::Bindings { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue