1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibWeb: Port HTMLMediaElement interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 16:18:30 +12:00 committed by Tim Flynn
parent e5910a4593
commit f4bc1602e2
3 changed files with 3 additions and 3 deletions

View file

@ -166,7 +166,7 @@ JS::NonnullGCPtr<TimeRanges> HTMLMediaElement::buffered() const
}
// https://html.spec.whatwg.org/multipage/media.html#dom-navigator-canplaytype
WebIDL::ExceptionOr<Bindings::CanPlayTypeResult> HTMLMediaElement::can_play_type(DeprecatedString const& type) const
WebIDL::ExceptionOr<Bindings::CanPlayTypeResult> HTMLMediaElement::can_play_type(StringView type) const
{
auto& vm = this->vm();