1
Fork 0
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:
Linus Groh 2020-10-08 21:04:32 +01:00 committed by Andreas Kling
parent a2a603d38a
commit 216ccaf805
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}