commit | 7fc705bdd7e9849f1e08fc8d2da43c7732883f57 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Wed Jul 21 08:51:44 2021 -0400 |
committer | Kevin Lubick <kjlubick@google.com> | Wed Jul 21 14:06:36 2021 +0000 |
tree | e2648f60253172186aa6bca8188e3204393f37dd | |
parent | c5c9dd86b06ff94bfb2454ef3c42158000783fa5 [diff] |
[canvaskit] Fix red_line.skp test Change-Id: I7c9610faf56af21fff17d1bfd96297770defb951 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/430857 Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/modules/canvaskit/tests/assets/red_line.skp b/modules/canvaskit/tests/assets/red_line.skp index 6629b76..2e578fa 100644 --- a/modules/canvaskit/tests/assets/red_line.skp +++ b/modules/canvaskit/tests/assets/red_line.skp Binary files differ
diff --git a/modules/canvaskit/tests/core.spec.js b/modules/canvaskit/tests/core.spec.js index a5ae3ab..12d9f53 100644 --- a/modules/canvaskit/tests/core.spec.js +++ b/modules/canvaskit/tests/core.spec.js
@@ -866,11 +866,10 @@ gm('drawImage_skp', (canvas, fetchedByteBuffers) => { const pic = CanvasKit.MakePicture(fetchedByteBuffers[0]); - if (false) { // need to update this skp, since it was > 6 months old - expect(pic).toBeTruthy(); - } canvas.clear(CanvasKit.TRANSPARENT); canvas.drawPicture(pic); + // The asset below can be re-downloaded from + // https://fiddle.skia.org/c/cbb8dee39e9f1576cd97c2d504db8eee }, '/assets/red_line.skp'); it('can draw once using drawOnce utility method', (done) => {