| Index: samplecode/SampleOvalTest.cpp
|
| diff --git a/samplecode/SampleOvalTest.cpp b/samplecode/SampleOvalTest.cpp
|
| index a105b82801b3d4bf038afcd995bf069dd4a8ef1d..ef9c20d031dbcd14a532a10e76a08ed32209e390 100644
|
| --- a/samplecode/SampleOvalTest.cpp
|
| +++ b/samplecode/SampleOvalTest.cpp
|
| @@ -22,8 +22,7 @@ public:
|
| OvalTestView() {
|
| fSize.set(SK_Scalar1, SK_Scalar1);
|
|
|
| - fBitmap.setConfig(SkBitmap::kARGB_8888_Config, kILimit, kILimit);
|
| - fBitmap.allocPixels();
|
| + fBitmap.allocN32Pixels(kILimit, kILimit);
|
|
|
| fInsideColor = SkPreMultiplyColor(SK_ColorRED);
|
| fOutsideColor = SkPreMultiplyColor(SK_ColorGREEN);
|
|
|