1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:07:44 +00:00

LibJS: Remove Shape::global_object() and Object::global_object()

Same reason as in commit 275dea9.
This commit is contained in:
Linus Groh 2022-08-28 15:03:26 +01:00
parent 4f436bd323
commit 72730422bb
7 changed files with 3 additions and 16 deletions

View file

@ -38,11 +38,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(unescape);
};
inline GlobalObject* Shape::global_object() const
{
return &static_cast<GlobalObject&>(m_realm.global_object());
}
template<>
inline bool Object::fast_is<GlobalObject>() const { return is_global_object(); }