mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:47:35 +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
|
@ -40,7 +40,7 @@ JS::ThrowCompletionOr<JS::Object*> AudioConstructor::construct(FunctionObject&)
|
|||
|
||||
// 1. Let document be the current global object's associated Document.
|
||||
auto& window = verify_cast<HTML::Window>(HTML::current_global_object());
|
||||
auto& document = window.impl().associated_document();
|
||||
auto& document = window.associated_document();
|
||||
|
||||
// 2. Let audio be the result of creating an element given document, audio, and the HTML namespace.
|
||||
auto audio = DOM::create_element(document, HTML::TagNames::audio, Namespace::HTML);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue