[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>
This commit is contained in:
Kevin Lubick 2021-07-21 08:51:44 -04:00
parent c5c9dd86b0
commit 7fc705bdd7
2 changed files with 2 additions and 3 deletions

View File

@ -866,11 +866,10 @@ describe('Core canvas behavior', () => {
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) => {