aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleOvalTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleOvalTest.cpp')
-rw-r--r--samplecode/SampleOvalTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleOvalTest.cpp b/samplecode/SampleOvalTest.cpp
index 340acf61e5..88b7d5fa0b 100644
--- a/samplecode/SampleOvalTest.cpp
+++ b/samplecode/SampleOvalTest.cpp
@@ -45,7 +45,7 @@ protected:
SkCanvas canvas(fBitmap);
SkPaint p;
- fBitmap.eraseColor(0);
+ fBitmap.eraseColor(SK_ColorTRANSPARENT);
canvas.drawOval(SkRect::MakeSize(fSize), p);
}