Truly independent web browser
LibWeb: Root the popover positions of the topmost popover lookup
Shannon Booth6c7732345923
diff --git a/Libraries/LibWeb/HTML/HTMLElement.cpp b/Libraries/LibWeb/HTML/HTMLElement.cppindex 82e258fb6c9..0b686305a7d 100644--- a/Libraries/LibWeb/HTML/HTMLElement.cpp+++ b/Libraries/LibWeb/HTML/HTMLElement.cpp@@ -1889,7 +1889,7 @@ GC::Ptr<HTMLElement> HTMLElement::topmost_popover_ancestor(GC::Ptr<DOM::Node> ne}// 3. Let popoverPositions be an empty ordered map.- OrderedHashMap<GC::Ref<HTMLElement>, int> popover_positions;+ GC::OrderedRootHashMap<GC::Ref<HTMLElement>, int> popover_positions;// 4. Let index be 0.int index = 0;