Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index b9b01e4cf96093c64306395cd3342496803068e9..64021525b0f220ab9da61c5b61a1dbd829a0c69f 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -612,6 +612,7 @@ static void draw_tile_to_canvas(SkCanvas* canvas, |
SkMatrix mat(canvas->getTotalMatrix()); |
mat.postTranslate(-SkIntToScalar(tileRect.fLeft), -SkIntToScalar(tileRect.fTop)); |
canvas->setMatrix(mat); |
+ canvas->clear(SK_ColorTRANSPARENT); // Not every picture covers the entirety of every tile |
canvas->drawPicture(picture); |
canvas->restoreToCount(saveCount); |
canvas->flush(); |