Переглянути джерело

LibWeb: Make `make_unsalvageable` a public field

Daniel La Rocque 10 місяців тому
батько
коміт
8b4dde0b09
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      Userland/Libraries/LibWeb/DOM/Document.h

+ 2 - 2
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<Page> m_page;
     OwnPtr<CSS::StyleComputer> m_style_computer;
     JS::GCPtr<CSS::StyleSheetList> m_style_sheets;