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:
Linus Groh 2022-09-21 17:45:18 +01:00
commit 6055b0e850
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00
14 changed files with 28 additions and 39 deletions

View file

@ -39,7 +39,7 @@ public:
static DOM::ExceptionOr<JS::NonnullGCPtr<Worker>> create(FlyString const& script_url, WorkerOptions const options, DOM::Document& document);
static DOM::ExceptionOr<JS::NonnullGCPtr<Worker>> create_with_global_object(HTML::Window& window, FlyString const& script_url, WorkerOptions const options)
{
return Worker::create(script_url, options, window.impl().associated_document());
return Worker::create(script_url, options, window.associated_document());
}
DOM::ExceptionOr<void> terminate();