aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-28 02:01:16 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-28 02:01:16 +0000
commit1e9c987c69a41605abfc72fb126672a14f2799a5 (patch)
treee20a4b4439bea2abb487f2d1fabc93cfe6b59aa1 /src/core
parent9c39744a00573b7133fc765b0a9d50a0ceace7b8 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5721 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkDevice.cpp6
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;