Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6669 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/dashing.cpp b/gm/dashing.cpp
index 935ae4a..70fb9b1 100644
--- a/gm/dashing.cpp
+++ b/gm/dashing.cpp
@@ -185,8 +185,8 @@
// Draw a 100x100 block of dashed lines. The horizontal ones are BW
// while the vertical ones are AA.
- void drawDashedLines(SkCanvas* canvas,
- SkScalar lineLength,
+ void drawDashedLines(SkCanvas* canvas,
+ SkScalar lineLength,
SkScalar phase,
SkScalar dashLength,
int strokeWidth,
@@ -284,7 +284,7 @@
// 3on/3off 3x1 rects - should use rect fast path regardless of phase
for (int phase = 0; phase <= 3; ++phase) {
canvas->save();
- canvas->translate(SkIntToScalar(phase*110+2),
+ canvas->translate(SkIntToScalar(phase*110+2),
SkIntToScalar(330));
this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false);
canvas->restore();
diff --git a/gm/pathinterior.cpp b/gm/pathinterior.cpp
index fd2175b..fbae9f6 100644
--- a/gm/pathinterior.cpp
+++ b/gm/pathinterior.cpp
@@ -49,7 +49,7 @@
paint.setStyle(SkPaint::kStroke_Style);
paint.setColor(SK_ColorRED);
canvas->drawPath(path, paint);
-
+
if (hasInterior) {
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(0x8800FF00);
@@ -89,7 +89,7 @@
SkScalar dy = (i % 4) * rect.height() * 6 / 5;
i++;
path.offset(dx, dy);
-
+
this->show(canvas, path);
}
}
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index 1b8bcd4..4e7ac9c 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -280,7 +280,7 @@
} else {
int clipsToSkip = 0;
Element* element = result->headIter().get();
- while (NULL != element) {
+ while (NULL != element) {
bool skippable = false;
switch (element->getOp()) {
case SkRegion::kDifference_Op:
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index 0c8484a..ba8f625 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -168,7 +168,7 @@
};
/**
- * This function takes a clip stack and a query rectangle and it produces a reduced set of
+ * This function takes a clip stack and a query rectangle and it produces a reduced set of
* SkClipStack::Elements that are equivalent to applying the full stack to the rectangle. The
* initial state of the query rectangle before the first clip element is applied is returned via
* initialState. This function is declared here so that it can be unit-tested. It may become a
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp
index aba5334..0f6e266 100644
--- a/tests/ClipStackTest.cpp
+++ b/tests/ClipStackTest.cpp
@@ -555,7 +555,7 @@
elemRegion.setPath(element.getPath(), boundsRgn);
break;
case SkClipStack::Element::kEmpty_Type:
- //
+ //
region->setEmpty();
return;
}