mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Everywhere: Use unqualified AK::URL
Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
parent
f9e5b43b7a
commit
9ce8189f21
Notes:
sideshowbarker
2024-07-16 20:12:13 +09:00
Author: https://github.com/shannonbooth
Commit: 9ce8189f21
Pull-request: https://github.com/SerenityOS/serenity/pull/23152
Reviewed-by: https://github.com/awesomekling ✅
156 changed files with 471 additions and 471 deletions
|
@ -275,7 +275,7 @@ String HTMLCanvasElement::to_data_url(StringView type, Optional<double> quality)
|
|||
if (base64_encoded_or_error.is_error()) {
|
||||
return "data:,"_string;
|
||||
}
|
||||
return MUST(AK::URL::create_with_data(file.value().mime_type, base64_encoded_or_error.release_value(), true).to_string());
|
||||
return MUST(URL::create_with_data(file.value().mime_type, base64_encoded_or_error.release_value(), true).to_string());
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-toblob
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue