1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

LibWeb: Clean up assumptions in Bindings::HostDefined

We don't have a 'root execution environment' anymore (thankfully), so
we can make sure that the ESO the HostDefined object holds onto is a
NonnullGCPtr.
This commit is contained in:
Andrew Kaster 2023-11-08 11:39:10 -07:00 committed by Andreas Kling
parent 427ca284f1
commit 4fcff01ef3
2 changed files with 3 additions and 4 deletions

View file

@ -16,7 +16,7 @@ void HostDefined::visit_edges(JS::Cell::Visitor& visitor)
{
JS::Realm::HostDefined::visit_edges(visitor);
visitor.visit(environment_settings_object);
visitor.visit(*intrinsics);
visitor.visit(intrinsics);
}
}