| Index: tools/SkBitmapRegionCanvas.cpp
|
| diff --git a/tools/SkBitmapRegionCanvas.cpp b/tools/SkBitmapRegionCanvas.cpp
|
| index 7226e044e75c82a77b908a39d33d9d3281bcc50a..0892aa55e15cbcc8ac31e7e39b98cf56281b0515 100644
|
| --- a/tools/SkBitmapRegionCanvas.cpp
|
| +++ b/tools/SkBitmapRegionCanvas.cpp
|
| @@ -152,7 +152,7 @@ SkBitmap* SkBitmapRegionCanvas::decodeRegion(int inputX, int inputY,
|
| // TODO (msarett): This could be skipped if memory is zero initialized.
|
| // This would matter if this code is moved to Android and
|
| // uses Android bitmaps.
|
| - if (imageContainsEntireSubset) {
|
| + if (!imageContainsEntireSubset) {
|
| bitmap->eraseColor(0);
|
| }
|
|
|
|
|