LibWeb: Don't redundantly re-sort StyleSheetList on sheet removal

The list is already kept sorted. Removing one sheet anywhere from the
list will not make it unsorted.
This commit is contained in:
Andreas Kling 2024-04-21 14:41:44 +02:00
commit 819f2c1df6
Notes: sideshowbarker 2024-07-17 22:01:16 +09:00
2 changed files with 0 additions and 12 deletions

View file

@ -50,8 +50,6 @@ private:
void add_sheet(CSSStyleSheet&);
void remove_sheet(CSSStyleSheet&);
void sort_sheets();
JS::NonnullGCPtr<DOM::Document> m_document;
Vector<JS::NonnullGCPtr<CSSStyleSheet>> m_sheets;