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

LibWeb: Make factory method of DOM::DOMImplementation fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 21:07:43 +01:00 committed by Linus Groh
parent a5ad8b2959
commit b9c5828fe6
3 changed files with 4 additions and 4 deletions

View file

@ -1824,7 +1824,7 @@ void Document::evaluate_media_rules()
DOMImplementation* Document::implementation()
{
if (!m_implementation)
m_implementation = DOMImplementation::create(*this);
m_implementation = DOMImplementation::create(*this).release_value_but_fixme_should_propagate_errors();
return m_implementation;
}