diff options
Diffstat (limited to 'gm/ninepatchstretch.cpp')
-rw-r--r-- | gm/ninepatchstretch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/ninepatchstretch.cpp b/gm/ninepatchstretch.cpp index 38b6f7d012..773a692e65 100644 --- a/gm/ninepatchstretch.cpp +++ b/gm/ninepatchstretch.cpp @@ -34,7 +34,7 @@ static void make_bitmap(SkBitmap* bitmap, GrContext* ctx, SkIRect* center) { SkCanvas canvas(dev); dev->unref(); - canvas.clear(0); + canvas.clear(SK_ColorTRANSPARENT); SkRect r = SkRect::MakeWH(SkIntToScalar(kSize), SkIntToScalar(kSize)); const SkScalar strokeWidth = SkIntToScalar(6); |