mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibJS: Remove Shape::global_object() and Object::global_object()
Same reason as in commit 275dea9
.
This commit is contained in:
parent
4f436bd323
commit
72730422bb
Notes:
sideshowbarker
2024-07-17 07:39:37 +09:00
Author: https://github.com/linusg
Commit: 72730422bb
Pull-request: https://github.com/SerenityOS/serenity/pull/15057
7 changed files with 3 additions and 16 deletions
|
@ -34,11 +34,6 @@ Object* Object::create(Realm& realm, Object* prototype)
|
|||
return realm.heap().allocate<Object>(realm, *prototype);
|
||||
}
|
||||
|
||||
GlobalObject& Object::global_object() const
|
||||
{
|
||||
return *shape().global_object();
|
||||
}
|
||||
|
||||
Object::Object(GlobalObjectTag, Realm& realm)
|
||||
{
|
||||
// This is the global object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue