diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp index 11c96990d6..abb441e885 100644 --- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp +++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp @@ -273,7 +273,7 @@ BrowsingContext::BrowsingContext(JS::NonnullGCPtr page, HTML::NavigableCon m_cursor_blink_timer = Core::Timer::create_repeating(500, [this] { if (!is_focused_context()) return; - if (m_cursor_position && m_cursor_position->node()->layout_node() && m_cursor_position->node()->layout_node()->paintable()) { + if (m_cursor_position && m_cursor_position->node()->paintable()) { m_cursor_blink_state = !m_cursor_blink_state; m_cursor_position->node()->paintable()->set_needs_display(); }