From 8b4dde0b0911f59512e1c40d19f33f49bdeeb10c Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Sun, 8 Sep 2024 11:31:00 -0400 Subject: [PATCH] LibWeb: Make `make_unsalvageable` a public field --- Userland/Libraries/LibWeb/DOM/Document.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h index a05db414b10..7da0f694a3d 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.h +++ b/Userland/Libraries/LibWeb/DOM/Document.h @@ -578,6 +578,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; @@ -753,8 +755,6 @@ private: void reset_cursor_blink_cycle(); - void make_unsalvageable(String reason); - JS::NonnullGCPtr m_page; OwnPtr m_style_computer; JS::GCPtr m_style_sheets;