mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Take a StringView in Document::get_elements_by_class_name
We only ever use the view of the DeprecatedFlyString anyway, so let's just use a StringView.
This commit is contained in:
parent
ec39a5a41a
commit
827170f6e6
2 changed files with 3 additions and 3 deletions
|
@ -217,7 +217,7 @@ public:
|
|||
void schedule_layout_update();
|
||||
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_name(DeprecatedString const&);
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(DeprecatedFlyString const&);
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(StringView);
|
||||
|
||||
JS::NonnullGCPtr<HTMLCollection> applets();
|
||||
JS::NonnullGCPtr<HTMLCollection> anchors();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue