LibWeb: Make make_unsalvageable a public field

(cherry picked from commit 8b4dde0b0911f59512e1c40d19f33f49bdeeb10c)
This commit is contained in:
Daniel La Rocque
2024-09-08 11:31:00 -04:00
committed by Nico Weber
parent 1bf3aeaab4
commit fb06647372

View File

@@ -575,6 +575,8 @@ public:
void set_salvageable(bool value) { m_salvageable = value; }
void make_unsalvageable(String reason);
HTML::ListOfAvailableImages& list_of_available_images();
HTML::ListOfAvailableImages const& list_of_available_images() const;
@@ -729,8 +731,6 @@ private:
void reset_cursor_blink_cycle();
void make_unsalvageable(String reason);
JS::NonnullGCPtr<Page> m_page;
OwnPtr<CSS::StyleComputer> m_style_computer;
JS::GCPtr<CSS::StyleSheetList> m_style_sheets;