mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: Change DOM::Position to be GC-allocated
This commit is contained in:
committed by
Andreas Kling
parent
35623ad52e
commit
46254101f7
@@ -56,7 +56,7 @@ void HTMLTextAreaElement::did_receive_focus()
|
||||
return;
|
||||
if (!m_text_node)
|
||||
return;
|
||||
browsing_context->set_cursor_position(DOM::Position { *m_text_node, 0 });
|
||||
browsing_context->set_cursor_position(DOM::Position::create(*vm().current_realm(), *m_text_node, 0));
|
||||
}
|
||||
|
||||
void HTMLTextAreaElement::did_lose_focus()
|
||||
|
||||
Reference in New Issue
Block a user