mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02: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:
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/6055b0e850 Pull-request: https://github.com/SerenityOS/serenity/pull/15310 Reviewed-by: https://github.com/awesomekling ✅
@@ -247,7 +247,7 @@ void queue_global_task(HTML::Task::Source source, JS::Object& global_object, Fun
|
||||
DOM::Document* document { nullptr };
|
||||
if (is<HTML::Window>(global_object)) {
|
||||
auto& window_object = verify_cast<HTML::Window>(global_object);
|
||||
document = &window_object.impl().associated_document();
|
||||
document = &window_object.associated_document();
|
||||
}
|
||||
|
||||
// 3. Queue a task given source, event loop, document, and steps.
|
||||
|
||||
Reference in New Issue
Block a user