LibURL+LibWeb+Tests: Remove redundant words

This commit is contained in:
zoupingshi 2025-02-22 10:59:50 +08:00 committed by Sam Atkins
parent d5be18617e
commit b609d8481a
Notes: github-actions[bot] 2025-02-27 10:36:40 +00:00
6 changed files with 7 additions and 7 deletions

View file

@ -317,7 +317,7 @@ static ErrorOr<SerializeBitmapResult> serialize_bitmap(Gfx::Bitmap const& bitmap
// https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-todataurl
String HTMLCanvasElement::to_data_url(StringView type, JS::Value quality)
{
// It is possible the the canvas doesn't have a associated bitmap so create one
// It is possible the canvas doesn't have a associated bitmap so create one
allocate_painting_surface_if_needed();
auto surface = this->surface();
auto size = bitmap_size_for_canvas();
@ -357,7 +357,7 @@ String HTMLCanvasElement::to_data_url(StringView type, JS::Value quality)
// https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-toblob
WebIDL::ExceptionOr<void> HTMLCanvasElement::to_blob(GC::Ref<WebIDL::CallbackType> callback, StringView type, JS::Value quality)
{
// It is possible the the canvas doesn't have a associated bitmap so create one
// It is possible the canvas doesn't have a associated bitmap so create one
allocate_painting_surface_if_needed();
auto surface = this->surface();
auto size = bitmap_size_for_canvas();