mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 17:28:48 +00:00
LibURL+LibWeb+Tests: Remove redundant words
This commit is contained in:
parent
d5be18617e
commit
b609d8481a
Notes:
github-actions[bot]
2025-02-27 10:36:40 +00:00
Author: https://github.com/zoupingshi 🔰
Commit: b609d8481a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3503
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/Psychpsyo
6 changed files with 7 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue