| Index: src/core/SkBitmapScaler.cpp
|
| diff --git a/src/core/SkBitmapScaler.cpp b/src/core/SkBitmapScaler.cpp
|
| index aaee600c8f8650dff77582d9cfdea3168b53c901..0fd2c7baf3fb2c74ae4625cf908e964b9ea12d73 100644
|
| --- a/src/core/SkBitmapScaler.cpp
|
| +++ b/src/core/SkBitmapScaler.cpp
|
| @@ -264,6 +264,7 @@ bool SkBitmapScaler::Resize(SkBitmap* resultPtr,
|
| SkErrorInternals::SetError( kInvalidArgument_SkError,
|
| "Sorry, the destination bitmap scale subset "
|
| "falls outside the full destination bitmap." );
|
| + return false;
|
| }
|
|
|
| // If the size of source or destination is 0, i.e. 0x0, 0xN or Nx0, just
|
|
|