mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb+LibJS: Use JS::GCPtr for pointers to GC-allocated objects
Fixes warnings found by LibJSGCVerifier
This commit is contained in:
parent
ed97946975
commit
6ac43274b2
14 changed files with 31 additions and 31 deletions
|
@ -462,7 +462,7 @@ ErrorOr<void> initialize_main_thread_vm()
|
|||
auto destination = Fetch::Infrastructure::Request::Destination::Script;
|
||||
|
||||
// 11. Let fetchClient be settingsObject.
|
||||
Optional<HTML::EnvironmentSettingsObject&> fetch_client = *settings_object;
|
||||
JS::NonnullGCPtr fetch_client { *settings_object };
|
||||
|
||||
// 12. If loadState is not undefined, then:
|
||||
if (load_state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue