aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/fatpathfill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/fatpathfill.cpp')
-rw-r--r--gm/fatpathfill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp
index c23a4ecd6f..4c30949f52 100644
--- a/gm/fatpathfill.cpp
+++ b/gm/fatpathfill.cpp
@@ -41,7 +41,7 @@ static void draw_fatpath(SkCanvas* canvas, SkSurface* surface,
const SkPath paths[], int count) {
SkPaint paint;
- surface->getCanvas()->clear(0);
+ surface->getCanvas()->clear(SK_ColorTRANSPARENT);
for (int i = 0; i < count; ++i) {
surface->getCanvas()->drawPath(paths[i], paint);
}