Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9826 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
index beba9da..2635e13 100644
--- a/src/core/SkBitmap.cpp
+++ b/src/core/SkBitmap.cpp
@@ -776,7 +776,7 @@
uint8_t* p = this->getAddr1(area.fLeft, area.fTop);
const int left = area.fLeft >> 3;
const int right = area.fRight >> 3;
-
+
int middle = right - left - 1;
uint8_t leftMask = 0xFF >> (area.fLeft & 7);
@@ -799,7 +799,7 @@
if (rightMask) {
*p = (*p & ~rightMask) | (a & rightMask);
}
-
+
p = startP + rowBytes;
}
break;
diff --git a/tests/BitmapGetColorTest.cpp b/tests/BitmapGetColorTest.cpp
index 3363777..11c22e6 100644
--- a/tests/BitmapGetColorTest.cpp
+++ b/tests/BitmapGetColorTest.cpp
@@ -40,7 +40,7 @@
int p8 = *bm8.getAddr8(x, y);
SkASSERT(0 == p8 || 0xFF == p8);
-
+
REPORTER_ASSERT(reporter, p1 == p8);
}
}
@@ -51,7 +51,7 @@
const int H = 13;
SkBitmap bm1, bm8;
-
+
bm1.setConfig(SkBitmap::kA1_Config, W, H);
bm1.allocPixels();
bm8.setConfig(SkBitmap::kA8_Config, W, H);
@@ -61,10 +61,10 @@
for (int i = 0; i < 10000; ++i) {
SkIRect area;
rand_irect(&area, W, H, rand);
-
+
bm1.eraseColor(0);
bm8.eraseColor(0);
-
+
bm1.eraseArea(area, SK_ColorWHITE);
bm8.eraseArea(area, SK_ColorWHITE);
test_equal_A1_A8(reporter, bm1, bm8);
@@ -105,7 +105,7 @@
SkColor c = bm.getColor(1, 1);
REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
}
-
+
test_eraserect_A1(reporter);
}