Revert "LibWeb: Make "assign slottables for a tree" fast when there are no slots"

This reverts commit adc25af8e2.

This caused images to stop loading on https://reddit.com/ and needs
more investigation.
This commit is contained in:
Andreas Kling 2025-02-04 22:19:25 +01:00
parent 67c950b002
commit b8537f760d
Notes: github-actions[bot] 2025-02-04 21:29:19 +00:00
4 changed files with 11 additions and 49 deletions

View file

@ -45,9 +45,6 @@ private:
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(JS::Cell::Visitor&) override;
virtual void inserted() override;
virtual void removed_from(Node* old_parent, Node& old_root) override;
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
// https://html.spec.whatwg.org/multipage/scripting.html#manually-assigned-nodes