diff options
author | davidot <davidot@serenityos.org> | 2022-02-04 16:12:39 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-05 11:52:51 +0100 |
commit | 8da6c01d8f7b24d63431ceef1db62c2e2cdcc2bd (patch) | |
tree | 3145d43790cd6efc635c1c94419666fb76bcf724 /Userland/Libraries/LibWeb/Bindings | |
parent | 794d79e3152111776f9e2394bb5fd35f062f5212 (diff) | |
download | serenity-8da6c01d8f7b24d63431ceef1db62c2e2cdcc2bd.zip |
LibJS: Remove the JS_TRACK_ZOMBIE_CELLS option
This feature had bitrotted somewhat and would trigger errors because
PrimitiveStrings were "destroyed" but because of this mode they were not
removed from the string cache. Even fixing that case running test-js
with the options still failed in more places.
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/Wrapper.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/Wrapper.h b/Userland/Libraries/LibWeb/Bindings/Wrapper.h index 11da182ea6..2ac7c4851c 100644 --- a/Userland/Libraries/LibWeb/Bindings/Wrapper.h +++ b/Userland/Libraries/LibWeb/Bindings/Wrapper.h @@ -24,13 +24,6 @@ protected: : Object(prototype) { } - -#ifdef JS_TRACK_ZOMBIE_CELLS - virtual void did_become_zombie() override - { - revoke_weak_ptrs(); - } -#endif }; } |