From 7f1af501f206da48a7ff791af53432c9c1c89d08 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Wed, 24 Jul 2013 07:01:12 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@10299 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/image/SkImagePriv.cpp | 6 +++--- src/image/SkImage_Base.h | 2 +- src/image/SkImage_Codec.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/image') diff --git a/src/image/SkImagePriv.cpp b/src/image/SkImagePriv.cpp index 4ff1c92bff..ca4a12cdcf 100644 --- a/src/image/SkImagePriv.cpp +++ b/src/image/SkImagePriv.cpp @@ -143,8 +143,8 @@ void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, } void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, - const SkRect* src, const SkRect& dst, const SkPaint* paint) { - int saveCount = canvas->getSaveCount(); + const SkRect* src, const SkRect& dst, const SkPaint* paint) { + int saveCount = canvas->getSaveCount(); SkMatrix matrix; SkRect tmpSrc; @@ -167,7 +167,7 @@ void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, if (!paint || !needs_layer(*paint)) { canvas->clipRect(tmpSrc); } - + canvas->drawPicture(*picture); canvas->restoreToCount(saveCount); } diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h index 431444dadb..7bd1f7e6c9 100644 --- a/src/image/SkImage_Base.h +++ b/src/image/SkImage_Base.h @@ -15,7 +15,7 @@ public: SkImage_Base(int width, int height) : INHERITED(width, height) {} virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) = 0; - virtual void onDrawRectToRect(SkCanvas*, const SkRect* src, + virtual void onDrawRectToRect(SkCanvas*, const SkRect* src, const SkRect& dst, const SkPaint*) = 0; virtual GrTexture* onGetTexture() { return NULL; } diff --git a/src/image/SkImage_Codec.cpp b/src/image/SkImage_Codec.cpp index b9a8990838..64f58a6aef 100644 --- a/src/image/SkImage_Codec.cpp +++ b/src/image/SkImage_Codec.cpp @@ -49,7 +49,7 @@ void SkImage_Codec::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPai canvas->drawBitmap(fBitmap, x, y, paint); } -void SkImage_Codec::onDrawRectToRect(SkCanvas* canvas, const SkRect* src, +void SkImage_Codec::onDrawRectToRect(SkCanvas* canvas, const SkRect* src, const SkRect& dst, const SkPaint* paint) { if (!fBitmap.pixelRef()) { if (!SkImageDecoder::DecodeMemory(fEncodedData->bytes(), fEncodedData->size(), -- cgit v1.2.3