mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Port HTMLMediaElement interface from DeprecatedString to String
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user