LibWeb: Remove obsolete PlatformObject::global_object() API

This commit is contained in:
Andrew Kaster 2024-09-04 19:24:27 -06:00 committed by Andreas Kling
commit ade4fc1779
Notes: github-actions[bot] 2024-09-07 09:39:57 +00:00
2 changed files with 0 additions and 9 deletions

View file

@ -30,12 +30,6 @@ JS::Realm& PlatformObject::realm() const
return shape().realm();
}
// FIXME: remove this
HTML::Window& PlatformObject::global_object() const
{
return verify_cast<HTML::Window>(realm().global_object());
}
// https://webidl.spec.whatwg.org/#dfn-named-property-visibility
JS::ThrowCompletionOr<bool> PlatformObject::is_named_property_exposed_on_object(JS::PropertyKey const& property_key) const
{