mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWeb: Make wrapper factory functions take JS::GlobalObject&
Instead of taking the JS::Heap&. This allows us to get rid of some calls to JS::Interpreter::global_object(). We're getting closer and closer to multiple global objects. :^)
This commit is contained in:
parent
c24f5585b2
commit
fc4ed8d444
Notes:
sideshowbarker
2024-07-19 05:25:40 +09:00
Author: https://github.com/awesomekling
Commit: fc4ed8d444
12 changed files with 33 additions and 36 deletions
|
@ -43,7 +43,7 @@ private:
|
|||
virtual const char* class_name() const override { return "XMLHttpRequestWrapper"; }
|
||||
};
|
||||
|
||||
XMLHttpRequestWrapper* wrap(JS::Heap&, XMLHttpRequest&);
|
||||
XMLHttpRequestWrapper* wrap(JS::GlobalObject&, XMLHttpRequest&);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue