diff options
Diffstat (limited to 'tests/QuickRejectTest.cpp')
-rw-r--r-- | tests/QuickRejectTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp index b8fb989966..00008330eb 100644 --- a/tests/QuickRejectTest.cpp +++ b/tests/QuickRejectTest.cpp @@ -41,7 +41,7 @@ static void test_drawBitmap(skiatest::Reporter* reporter) { SkBitmap dst; dst.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); dst.allocPixels(); - dst.eraseColor(0); + dst.eraseColor(SK_ColorTRANSPARENT); SkCanvas canvas(dst); SkPaint paint; @@ -54,7 +54,7 @@ static void test_drawBitmap(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); // reverify we are clear again - dst.eraseColor(0); + dst.eraseColor(SK_ColorTRANSPARENT); REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); // if the bitmap is clipped out, we don't draw it |