mirror of
https://github.com/RGBCube/serenity
synced 2025-07-19 20:17:40 +00:00
LibWeb: Convert a bunch of dbg() to dbgln()
This commit is contained in:
parent
4714b04d32
commit
0a3b834346
12 changed files with 31 additions and 38 deletions
|
@ -80,11 +80,11 @@ static Gfx::IntSize bitmap_size_for_canvas(const HTMLCanvasElement& canvas)
|
|||
area *= height;
|
||||
|
||||
if (area.has_overflow()) {
|
||||
dbg() << "Refusing to create " << width << "x" << height << " canvas (overflow)";
|
||||
dbgln("Refusing to create {}x{} canvas (overflow)", width, height);
|
||||
return {};
|
||||
}
|
||||
if (area.value() > max_canvas_area) {
|
||||
dbg() << "Refusing to create " << width << "x" << height << " canvas (exceeds maximum size)";
|
||||
dbgln("Refusing to create {}x{} canvas (exceeds maximum size)", width, height);
|
||||
return {};
|
||||
}
|
||||
return Gfx::IntSize(width, height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue