Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9856 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp
index d6a0f33..5b10e95 100644
--- a/src/gpu/GrAARectRenderer.cpp
+++ b/src/gpu/GrAARectRenderer.cpp
@@ -473,10 +473,10 @@
innerColor = GrColorPackRGBA(scale, scale, scale, scale);
} else {
if (0xff == scale) {
- innerColor = target->getDrawState().getColor();
- } else {
- innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale);
- }
+ innerColor = target->getDrawState().getColor();
+ } else {
+ innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale);
+ }
}
verts += 4 * vsize;
@@ -768,8 +768,8 @@
innerColor = GrColorPackRGBA(scale, scale, scale, scale);
} else {
if (0xff == scale) {
- innerColor = target->getDrawState().getColor();
- } else {
+ innerColor = target->getDrawState().getColor();
+ } else {
innerColor = SkAlphaMulQ(target->getDrawState().getColor(), scale);
}
}
diff --git a/src/utils/SkPathUtils.cpp b/src/utils/SkPathUtils.cpp
index 3ece6fc..dd50ff7 100644
--- a/src/utils/SkPathUtils.cpp
+++ b/src/utils/SkPathUtils.cpp
@@ -27,7 +27,7 @@
bits[i] = rand.nextU();
}
}OA
-*/
+*/
static int GetBit( const char* buffer, int x ) {
int byte = x >> 3;
@@ -117,11 +117,11 @@
bool inRun = 0;
int start = 1;
const char* line = &bitmap[y * stride];
-
- // loop for each pixel
+
+ // loop for each pixel
for (int i = 0; i < w; ++i) {
int curPixel = GetBit(line,i);
-
+
if ( (curPixel!=0) != inRun ) { // if transition
if (curPixel) { // if transition on
inRun = 1;
@@ -140,7 +140,7 @@
// add the thing here
region.op(SkIRect::MakeXYWH(start, y, w-1-start+end, 1),
SkRegion::kUnion_Op );
-
+
} else if ( GetBit(line,w-1) ) { // if last pixel on add rect
// add the thing here
region.op(SkIRect::MakeXYWH(w-1, y, 1, 1),