mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 17:47:18 +00:00
LibWeb: Remove a bunch of calls to to_byte_string
A bunch of this is leftover from pre porting over to new AK::String. For example, for functions which previously took a ByteString const& now accepting a StringView.
This commit is contained in:
@@ -372,7 +372,7 @@ ErrorOr<void> HTMLImageElement::update_the_image_data(bool restart_animations, b
|
||||
// 1. Parse selected source, relative to the element's node document.
|
||||
// If that is not successful, then abort this inner set of steps.
|
||||
// Otherwise, let urlString be the resulting URL string.
|
||||
auto url_string = document().parse_url(selected_source.value().to_byte_string());
|
||||
auto url_string = document().parse_url(selected_source.value());
|
||||
if (!url_string.is_valid())
|
||||
goto after_step_7;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user