1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

LibWeb: Make it obvious that DOM::Document makes a copy of its source

This commit is contained in:
Timothy Flynn 2022-11-03 09:57:37 -04:00 committed by Linus Groh
parent f8cdfb8907
commit e7412717b4

View file

@ -217,7 +217,7 @@ public:
JS::NonnullGCPtr<HTMLCollection> all();
String const& source() const { return m_source; }
void set_source(String const& source) { m_source = source; }
void set_source(String source) { m_source = move(source); }
HTML::EnvironmentSettingsObject& relevant_settings_object();