Chromium Code Reviews| Index: tests/SurfaceTest.cpp |
| =================================================================== |
| --- tests/SurfaceTest.cpp (revision 11659) |
| +++ tests/SurfaceTest.cpp (working copy) |
| @@ -84,6 +84,7 @@ |
| SkBitmap testBitmap; |
| testBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); |
| testBitmap.allocPixels(); |
| + memset(testBitmap.getPixels(), 0, testBitmap.getSize()); |
|
reed1
2013/10/08 22:05:36
testBitmap.eraseColor(0);
robertphillips
2013/10/08 22:15:43
Haha - yeah - that.
|
| SkRRect testRRect; |
| testRRect.setRectXY(testRect, SK_Scalar1, SK_Scalar1); |