mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Make adopted_from no longer take a const Document reference
Nodes implementing the adoption steps can modify the passed in document, for example HTMLTemplateElement does so to adopt it's contents into the new document.
This commit is contained in:
parent
f3f2170ac6
commit
5897bc5c1f
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ public:
|
|||
virtual void inserted();
|
||||
virtual void removed_from(Node*) { }
|
||||
virtual void children_changed() { }
|
||||
virtual void adopted_from(const Document&) { }
|
||||
virtual void adopted_from(Document&) { }
|
||||
virtual void cloned(Node&, bool) {};
|
||||
|
||||
const Layout::Node* layout_node() const { return m_layout_node; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue