aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-10 07:02:03 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-10 07:02:03 +0000
commitcf0803b46f60d9fcb5ad9a376b638c4c32b655de (patch)
tree67f467312682677b705ce8af30890c8eb72b1981 /src
parent969967ed68762ab047645a26eab0565eb760709d (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12590 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkScaledImageCache.cpp4
-rw-r--r--src/image/SkImagePriv.cpp4
-rw-r--r--src/images/SkDecodingImageGenerator.cpp1
3 files changed, 4 insertions, 5 deletions
diff --git a/src/core/SkScaledImageCache.cpp b/src/core/SkScaledImageCache.cpp
index 25e29c2fb7..5b16688728 100644
--- a/src/core/SkScaledImageCache.cpp
+++ b/src/core/SkScaledImageCache.cpp
@@ -257,7 +257,7 @@ public:
}
virtual bool allocPixelRef(SkBitmap*, SkColorTable*) SK_OVERRIDE;
-
+
private:
SkScaledImageCache::DiscardableFactory fFactory;
};
@@ -509,7 +509,7 @@ void SkScaledImageCache::purgeAsNeeded() {
size_t bytesUsed = fBytesUsed;
int countUsed = fCount;
-
+
Rec* rec = fTail;
while (rec) {
if (bytesUsed < byteLimit && countUsed < countLimit) {
diff --git a/src/image/SkImagePriv.cpp b/src/image/SkImagePriv.cpp
index 1e24c48c5b..976a5b3333 100644
--- a/src/image/SkImagePriv.cpp
+++ b/src/image/SkImagePriv.cpp
@@ -16,10 +16,10 @@ SkBitmap::Config SkImageInfoToBitmapConfig(const SkImageInfo& info) {
case kARGB_4444_SkColorType:
return SkBitmap::kARGB_4444_Config;
-
+
case kRGB_565_SkColorType:
return SkBitmap::kRGB_565_Config;
-
+
case kPMColor_SkColorType:
return SkBitmap::kARGB_8888_Config;
diff --git a/src/images/SkDecodingImageGenerator.cpp b/src/images/SkDecodingImageGenerator.cpp
index e49f9a4f24..212104976f 100644
--- a/src/images/SkDecodingImageGenerator.cpp
+++ b/src/images/SkDecodingImageGenerator.cpp
@@ -206,4 +206,3 @@ bool SkDecodingImageGenerator::Install(SkStreamRewindable* stream,
SkImageGenerator* gen(SkNEW_ARGS(SkDecodingImageGenerator, (stream)));
return SkDiscardablePixelRef::Install(gen, dst, factory);
}
-