LibWeb: Make CSS::Screen forward its ref count to DOM::Window

This commit is contained in:
Andreas Kling 2021-12-09 15:47:48 +01:00
commit c268d0fa13
Notes: sideshowbarker 2024-07-17 23:03:05 +09:00
4 changed files with 12 additions and 10 deletions

View file

@ -111,7 +111,7 @@ Window::Window(Document& document)
, m_associated_document(document)
, m_performance(make<HighResolutionTime::Performance>(*this))
, m_crypto(Crypto::Crypto::create())
, m_screen(CSS::Screen::create(*this))
, m_screen(CSS::Screen::create({}, *this))
{
}