Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9856 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathUtilsTest.cpp b/tests/PathUtilsTest.cpp
index 973a6af..1b49788 100644
--- a/tests/PathUtilsTest.cpp
+++ b/tests/PathUtilsTest.cpp
@@ -16,12 +16,12 @@
#define NUM_IT 1000
#define ON 0xFF000000 // black pixel
-#define OFF 0x00000000 // transparent pixel
+#define OFF 0x00000000 // transparent pixel
class SkBitmap;
//this function is redefined for sample, test, and bench. is there anywhere
-// I can put it to avoid code duplcation?
+// I can put it to avoid code duplcation?
static void fillRandomBits( int chars, char* bits ){
SkMWCRandom rand(SkTime::GetMSecs());
@@ -77,7 +77,7 @@
bmpPaint.setAntiAlias(true); // Black paint for bitmap
bmpPaint.setStyle(SkPaint::kFill_Style);
bmpPaint.setColor(SK_ColorBLACK);
-
+
// make bmp
SkBitmap bmp;
bmp.setConfig(SkBitmap::kARGB_8888_Config, w, h);
@@ -93,7 +93,7 @@
// make path
SkPath path;
SkPathUtils::BitsToPath_Path(&path, bin_bmp, h, w, stride);
-
+
//test for correctness
test_path_eq(reporter, &path, truth, h, w);
}
@@ -103,7 +103,7 @@
//generate bitmap
SkPath path;
SkPathUtils::BitsToPath_Region(&path, bin_bmp, h, w, stride);
-
+
//test for correctness
test_path_eq(reporter, &path, truth, h, w);
}
@@ -121,8 +121,8 @@
for (int it = 0; it < NUM_IT; ++it)
{
// generate a random binary bitmap
- fillRandomBits( h * stride, bin_bmp); // generate random bitmap
-
+ fillRandomBits( h * stride, bin_bmp); // generate random bitmap
+
// for each bitmap width, use subset of binary bitmap
for (int i = 0; i < W_tests; ++i) {
// generate truth bitmap