Bug 1514176 - Update webrender to commit 40aa1851b6453108d1c47a3264360362b9b2d053 (WR PR #3419). r=kats

https://github.com/servo/webrender/pull/3419

Differential Revision: https://phabricator.services.mozilla.com/D14623

--HG--
extra : moz-landing-system : lando
This commit is contained in:
WR Updater Bot 2018-12-14 21:42:20 +00:00
Родитель 884c261af0
Коммит cbd6aca76b
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -1 +1 @@
d2c673ada607f29846c3d1ac8ca7d2b272ba1b2d
40aa1851b6453108d1c47a3264360362b9b2d053

Просмотреть файл

@ -5085,6 +5085,13 @@ impl Renderer {
.expect(&format!("Unable to create {}", short_path))
.write_all(&bytes)
.unwrap();
#[cfg(feature = "png")]
CaptureConfig::save_png(
config.root.join(&short_path).with_extension("png"),
def.descriptor.size,
ReadPixelsFormat::Standard(def.descriptor.format),
&bytes,
);
}
let plain = PlainExternalImage {
data: short_path,