diff options
-rw-r--r-- | gm/animatedGif.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/animatedGif.cpp b/gm/animatedGif.cpp index fc6fad0886..6f7f0ddd1b 100644 --- a/gm/animatedGif.cpp +++ b/gm/animatedGif.cpp @@ -98,6 +98,7 @@ private: } void onDrawBackground(SkCanvas* canvas) override { + canvas->clear(SK_ColorWHITE); if (this->initCodec()) { SkAutoCanvasRestore acr(canvas, true); for (size_t frameIndex = 0; frameIndex < fTotalFrames; frameIndex++) { |