commit | dbfac8a72393eaf01670aeb3244de0e18d8faf98 | [log] [tgz] |
---|---|---|
author | junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Dec 06 21:47:40 2012 +0000 |
committer | junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Dec 06 21:47:40 2012 +0000 |
tree | 851b0b533bedd77e65dd43746802c4acf59b8390 | |
parent | 4eeda37a7456876cb8d509a4ea43c7f4c684477a [diff] [blame] |
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
diff --git a/tests/ClipCubicTest.cpp b/tests/ClipCubicTest.cpp index 2e913a7..e980781 100644 --- a/tests/ClipCubicTest.cpp +++ b/tests/ClipCubicTest.cpp
@@ -20,7 +20,7 @@ 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);