LibWeb: Reduce SelectItemOption struct from 40 to 32 bytes

This commit is contained in:
Pavel Shliak
2024-11-11 14:22:44 +04:00
committed by Andreas Kling
parent 566870b2bd
commit 1bdc41faa1
3 changed files with 5 additions and 5 deletions

View File

@@ -14,11 +14,11 @@ namespace Web::HTML {
struct SelectItemOption {
u32 id { 0 };
String label {};
String value {};
bool selected { false };
bool disabled { false };
JS::GCPtr<HTMLOptionElement> option_element {};
String label {};
String value {};
};
struct SelectItemOptionGroup {