mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801676 - [Browser API] Make getScreenshot() use JPEG instead of PNG. r=jlebar
This commit is contained in:
parent
79a32d491e
commit
744e85292a
@ -462,7 +462,7 @@ BrowserElementChild.prototype = {
|
||||
content.innerHeight, "rgb(255,255,255)");
|
||||
sendAsyncMsg('got-screenshot', {
|
||||
id: data.json.id,
|
||||
rv: canvas.toDataURL("image/png")
|
||||
rv: canvas.toDataURL("image/jpeg")
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user