diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index 721d70e3c7..7da9a6b442 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -375,7 +375,7 @@ void SkDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, } matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); } - + // ensure that src is "valid" before we pass it to our internal routines // and to SkDevice. i.e. sure it is contained inside the original bitmap. SkIRect isrcStorage; @@ -387,9 +387,9 @@ void SkDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, } isrcPtr = &isrcStorage; } - + this->drawBitmap(draw, bitmap, isrcPtr, matrix, paint); -#else +#else SkMatrix matrix; SkRect bitmapBounds, tmpSrc, tmpDst; SkBitmap tmpBitmap; |