mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 17:29:01 +00:00
LibWeb: Make it obvious that DOM::Document makes a copy of its source
This commit is contained in:
parent
f8cdfb8907
commit
e7412717b4
Notes:
sideshowbarker
2024-07-17 04:50:10 +09:00
Author: https://github.com/trflynn89
Commit: e7412717b4
Pull-request: https://github.com/SerenityOS/serenity/pull/15905
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue