Chromium Code Reviews| Index: skia/ext/platform_canvas_unittest.cc |
| =================================================================== |
| --- skia/ext/platform_canvas_unittest.cc (revision 123041) |
| +++ skia/ext/platform_canvas_unittest.cc (working copy) |
| @@ -194,6 +194,7 @@ |
| TEST(PlatformCanvas, SkLayer) { |
| // Create the canvas initialized to opaque white. |
| PlatformCanvas canvas(16, 16, true); |
| + canvas.drawARGB(0, 0, 0, 0); |
|
alokp
2012/03/01 17:09:02
eraseARGB? and everywhere else.
Jeff Timanus
2012/03/01 18:35:49
I was confused by this too.
SkCanvas (& PlatformC
|
| canvas.drawColor(SK_ColorWHITE); |
| // Make a layer and fill it completely to make sure that the bounds are |
| @@ -209,6 +210,7 @@ |
| TEST(PlatformCanvas, ClipRegion) { |
| // Initialize a white canvas |
| PlatformCanvas canvas(16, 16, true); |
| + canvas.drawARGB(0, 0, 0, 0); |
| canvas.drawColor(SK_ColorWHITE); |
| EXPECT_TRUE(VerifyCanvasColor(canvas, SK_ColorWHITE)); |
| @@ -234,6 +236,7 @@ |
| TEST(PlatformCanvas, FillLayer) { |
| // Create the canvas initialized to opaque white. |
| PlatformCanvas canvas(16, 16, true); |
| + canvas.drawARGB(0, 0, 0, 0); |
| // Make a layer and fill it completely to make sure that the bounds are |
| // correct. |
| @@ -291,6 +294,7 @@ |
| TEST(PlatformCanvas, TranslateLayer) { |
| // Create the canvas initialized to opaque white. |
| PlatformCanvas canvas(16, 16, true); |
| + canvas.drawARGB(0, 0, 0, 0); |
| // Make a layer and fill it completely to make sure that the bounds are |
| // correct. |