mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibWeb: Handle PageClient::page_did_change_title() in Frame::set_document()
This commit is contained in:
parent
a2a603d38a
commit
216ccaf805
2 changed files with 3 additions and 4 deletions
|
@ -85,8 +85,10 @@ void Frame::set_document(DOM::Document* document)
|
|||
|
||||
m_document = document;
|
||||
|
||||
if (m_document)
|
||||
if (m_document) {
|
||||
m_document->attach_to_frame({}, *this);
|
||||
page().client().page_did_change_title(m_document->title());
|
||||
}
|
||||
|
||||
page().client().page_did_set_document_in_main_frame(m_document);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue