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:
humper 2014-08-04 08:31:34 -07:00 committed by Commit bot
parent dddc18a6bb
commit e86af3738a

View File

@ -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