aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipCubicTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ClipCubicTest.cpp')
-rw-r--r--tests/ClipCubicTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ClipCubicTest.cpp b/tests/ClipCubicTest.cpp
index 2e913a7354..e980781d28 100644
--- a/tests/ClipCubicTest.cpp
+++ b/tests/ClipCubicTest.cpp
@@ -20,7 +20,7 @@ static void test_giantClip() {
bm.setConfig(SkBitmap::kARGB_8888_Config, 64919, 1);
bm.allocPixels();
SkCanvas canvas(bm);
- canvas.clear(0);
+ canvas.clear(SK_ColorTRANSPARENT);
SkPath path;
path.moveTo(0, 0); path.lineTo(1, 0); path.lineTo(33, 1);