Truly independent web browser
LibWeb: Root the named objects of a Window
Shannon Booth95b748318171
diff --git a/Libraries/LibWeb/HTML/Window.h b/Libraries/LibWeb/HTML/Window.hindex e18243cc4f4..58916b1638c 100644--- a/Libraries/LibWeb/HTML/Window.h+++ b/Libraries/LibWeb/HTML/Window.h@@ -333,8 +333,8 @@ private:bool cannot_show_simple_dialogs() const;struct [[nodiscard]] NamedObjects {- Vector<GC::Ref<Navigable>> navigables;- Vector<GC::Ref<DOM::Element>> elements;+ GC::RootVector<GC::Ref<Navigable>> navigables;+ GC::RootVector<GC::Ref<DOM::Element>> elements;};NamedObjects named_objects(Utf16View name);