aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/AnnotationTest.cpp
diff options
context:
space:
mode:
authorGravatar junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-06 21:47:40 +0000
committerGravatar junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-06 21:47:40 +0000
commitdbfac8a72393eaf01670aeb3244de0e18d8faf98 (patch)
tree851b0b533bedd77e65dd43746802c4acf59b8390 /tests/AnnotationTest.cpp
parent4eeda37a7456876cb8d509a4ea43c7f4c684477a (diff)
Defining new color constat for transparent color
Review URL: https://codereview.appspot.com/6901044 git-svn-id: http://skia.googlecode.com/svn/trunk@6696 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/AnnotationTest.cpp')
-rw-r--r--tests/AnnotationTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/AnnotationTest.cpp b/tests/AnnotationTest.cpp
index 17da6226fe..586525a9e8 100644
--- a/tests/AnnotationTest.cpp
+++ b/tests/AnnotationTest.cpp
@@ -16,7 +16,7 @@ static void test_nodraw(skiatest::Reporter* reporter) {
SkBitmap bm;
bm.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
bm.allocPixels();
- bm.eraseColor(0);
+ bm.eraseColor(SK_ColorTRANSPARENT);
SkCanvas canvas(bm);
SkRect r = SkRect::MakeWH(SkIntToScalar(10), SkIntToScalar(10));