diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-04-28 08:58:18 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-01 14:09:28 +0200 |
commit | dc192172addea61fb68e42265cea6f4cf9bcfec8 (patch) | |
tree | f003b442f6e566dca3e9f97835773c404b8dccb8 /components/script/script_runtime.rs | |
parent | 3e3bd9c728aa0a08b7d23dfb9ea7a28c6e4e409f (diff) | |
download | servo-dc192172addea61fb68e42265cea6f4cf9bcfec8.tar.gz servo-dc192172addea61fb68e42265cea6f4cf9bcfec8.zip |
Clean up debug options
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index fe88b017934..d9566f6b204 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -483,7 +483,7 @@ unsafe fn new_rt_and_cx_with_parent( JS_SetGCCallback(cx, Some(debug_gc_callback), ptr::null_mut()); } - if opts::get().gc_profile { + if opts::get().debug.gc_profile { SetGCSliceCallback(cx, Some(gc_slice_callback)); } |