fix missing return in error case for bitmap scaler
BUG=skia: R=bsalomon@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/431613003
This commit is contained in:
parent
dddc18a6bb
commit
e86af3738a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user