[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:
parent
c5c9dd86b0
commit
7fc705bdd7
Binary file not shown.
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user