1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 14:35:07 +00:00

LibWeb: Split JS wrapper constructors into construct/initialize

This commit is contained in:
Andreas Kling 2020-06-20 17:28:13 +02:00
parent 06e29fac57
commit 03da70c7d0
31 changed files with 107 additions and 55 deletions

View file

@ -35,8 +35,8 @@
namespace Web {
namespace Bindings {
HTMLImageElementWrapper::HTMLImageElementWrapper(HTMLImageElement& element)
: ElementWrapper(element)
HTMLImageElementWrapper::HTMLImageElementWrapper(JS::GlobalObject& global_object, HTMLImageElement& element)
: ElementWrapper(global_object, element)
{
}