Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6872 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp
index 2014c56..e48a1ea 100644
--- a/src/core/SkBBoxRecord.cpp
+++ b/src/core/SkBBoxRecord.cpp
@@ -53,7 +53,7 @@
// Note: The device coordinate outset in SkBBoxHierarchyRecord::handleBBox is currently
// done in the recording coordinate space, which is wrong.
// http://code.google.com/p/skia/issues/detail?id=1021
- static const SkScalar kMinWidth = SkFloatToScalar(0.01f);
+ static const SkScalar kMinWidth = SkFloatToScalar(0.01f);
SkScalar halfStrokeWidth = SkMaxScalar(paint.getStrokeWidth(), kMinWidth) / 2;
bbox.outset(halfStrokeWidth, halfStrokeWidth);
if (this->transformBounds(bbox, &paint)) {
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index 77c20a9..3326b55 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -701,7 +701,7 @@
}
if (fDevice) {
- fDevice->drawPoints(*this,
+ fDevice->drawPoints(*this,
SkCanvas::kPoints_PointMode,
pointData.fNumPoints,
pointData.fPoints,
@@ -716,7 +716,7 @@
break;
} else {
// The rest of the dashed line must be drawn as rects
- SkASSERT(!(SkPathEffect::PointData::kCircles_PointFlag &
+ SkASSERT(!(SkPathEffect::PointData::kCircles_PointFlag &
pointData.fFlags));
SkRect r;
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index b9f3286..89150a3 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -1035,9 +1035,9 @@
static void add_corner_arc(SkPath* path, const SkRect& rect,
SkScalar rx, SkScalar ry, int startAngle,
SkPath::Direction dir, bool forceMoveTo) {
- // These two asserts are not sufficient, since really we want to know
- // that the pair of radii (e.g. left and right, or top and bottom) sum
- // to <= dimension, but we don't have that data here, so we just have
+ // These two asserts are not sufficient, since really we want to know
+ // that the pair of radii (e.g. left and right, or top and bottom) sum
+ // to <= dimension, but we don't have that data here, so we just have
// these conservative asserts.
SkASSERT(0 <= rx && rx <= rect.width());
SkASSERT(0 <= ry && ry <= rect.height());
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp
index 2252a1b..f205977 100644
--- a/src/effects/SkDashPathEffect.cpp
+++ b/src/effects/SkDashPathEffect.cpp
@@ -267,7 +267,7 @@
// Additionally, they do not necessarily need to be integers.
// We cannot allow arbitrary intervals since we want the returned points
// to be uniformly sized.
- if (fCount != 2 ||
+ if (fCount != 2 ||
!SkScalarNearlyEqual(fIntervals[0], fIntervals[1]) ||
!SkScalarIsInt(fIntervals[0]) ||
!SkScalarIsInt(fIntervals[1])) {
@@ -275,7 +275,7 @@
}
// TODO: this next test could be eased up. The rescaling should not impact
- // the equality of the ons & offs. However, we would need to remove the
+ // the equality of the ons & offs. However, we would need to remove the
// integer intervals restriction first
if (fScaleToFit) {
return false;
@@ -319,7 +319,7 @@
}
if (NULL != results) {
- results->fFlags = 0;
+ results->fFlags = 0;
if (SkPaint::kRound_Cap == rec.getCap()) {
results->fFlags |= PointData::kCircles_PointFlag;
@@ -352,7 +352,7 @@
bool partialLast = false;
if (len2 > 0) {
if (len2 < fIntervals[0]) {
- partialLast = true;
+ partialLast = true;
} else {
++numMidPoints;
++results->fNumPoints;