Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/image/SkImagePriv.cpp b/src/image/SkImagePriv.cpp
index 67d31b7..a020eaf 100644
--- a/src/image/SkImagePriv.cpp
+++ b/src/image/SkImagePriv.cpp
@@ -80,15 +80,15 @@
case SkBitmap::kRGB_565_Config:
info->fColorType = SkImage::kRGB_565_ColorType;
break;
-
+
case SkBitmap::kARGB_8888_Config:
info->fColorType = SkImage::kPMColor_ColorType;
break;
-
+
default:
return false;
}
-
+
info->fWidth = bm.width();
info->fHeight = bm.height();
info->fAlphaType = bm.isOpaque() ? SkImage::kOpaque_AlphaType :
@@ -126,7 +126,7 @@
void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture,
SkScalar x, SkScalar y, const SkPaint* paint) {
int saveCount = canvas->getSaveCount();
-
+
if (paint && needs_layer(*paint)) {
SkRect bounds;
bounds.set(x, y,
@@ -138,7 +138,7 @@
canvas->save();
canvas->translate(x, y);
}
-
+
canvas->drawPicture(*picture);
canvas->restoreToCount(saveCount);
}