Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index a567c41ca89f8afc844ef1425bf673d77044c6c5..9b0a0b2cf8a3efcb87c312c0cae4ceef52849b5b 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -55,7 +55,7 @@ bool SkImage::readPixels(SkBitmap* bitmap, const SkIRect* subset) const { |
if (NULL == bitmap) { |
return false; |
} |
- |
+ |
SkIRect bounds = SkIRect::MakeWH(this->width(), this->height()); |
// trim against the bitmap, if its already been allocated |
@@ -126,7 +126,7 @@ bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const { |
srcR.set(subset); |
dstR = srcR; |
dstR.offset(-dstR.left(), -dstR.top()); |
- |
+ |
SkCanvas canvas(*bitmap); |
SkPaint paint; |
@@ -136,3 +136,4 @@ bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const { |
const_cast<SkImage_Base*>(this)->onDrawRectToRect(&canvas, &srcR, dstR, NULL); |
return true; |
} |
+ |