mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibWeb: Rename DOM::Node::id() to unique_id()
The old name was pretty confusing, since it had nothing to do with the common "id" content attribute. This makes way for using id() to return the "id" attribute instead. :^)
This commit is contained in:
parent
1030776f92
commit
6b580d68a3
8 changed files with 27 additions and 27 deletions
|
@ -384,7 +384,7 @@ JS::GCPtr<HTML::HTMLMediaElement> Page::media_context_menu_element()
|
|||
if (!m_media_context_menu_element_id.has_value())
|
||||
return nullptr;
|
||||
|
||||
auto* dom_node = DOM::Node::from_id(*m_media_context_menu_element_id);
|
||||
auto* dom_node = DOM::Node::from_unique_id(*m_media_context_menu_element_id);
|
||||
if (dom_node == nullptr)
|
||||
return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue