mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Make Element::get_elements_by_class_name take a StringView
We only make use of the view of the view in this function.
This commit is contained in:
parent
79f97da4b4
commit
3458a53cb4
2 changed files with 3 additions and 3 deletions
|
@ -199,7 +199,7 @@ public:
|
|||
bool is_target() const;
|
||||
bool is_document_element() const;
|
||||
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(DeprecatedFlyString const&);
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(StringView);
|
||||
|
||||
bool is_shadow_host() const;
|
||||
ShadowRoot* shadow_root_internal() { return m_shadow_root.ptr(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue