Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13665 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index 289aa13..d92fb5a 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -85,7 +85,7 @@
if (kAA_Draw_Type == fType) {
paint.setAntiAlias(true);
}
-
+
static const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), SkIntToScalar(kTileY));
int curRRect = 0;
@@ -108,7 +108,7 @@
return;
}
GrDrawState* drawState = tt.target()->drawState();
-
+
SkRRect rrect = fRRects[rrectIdx];
rrect.offset(SkIntToScalar(x), SkIntToScalar(y));
GrRRectEffect::EdgeType edgeType = (GrRRectEffect::EdgeType)
@@ -122,7 +122,7 @@
SkRect bounds = rrect.getBounds();
bounds.outset(2.f, 2.f);
-
+
tt.target()->drawSimpleRect(bounds);
}
#endif
@@ -162,7 +162,7 @@
private:
Type fType;
-
+
static const int kImageWidth = 640;
static const int kImageHeight = 480;
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 257c823..c996346 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -224,7 +224,7 @@
void outset(SkScalar dx, SkScalar dy) {
this->inset(-dx, -dy, this);
}
-
+
/**
* Translate the rrect by (dx, dy).
*/
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp
index 583e385..a590186 100644
--- a/src/gpu/effects/GrRRectEffect.cpp
+++ b/src/gpu/effects/GrRRectEffect.cpp
@@ -21,7 +21,7 @@
public:
// This effect only supports circular corner rrects where the radius is >= kRadiusMin.
static const SkScalar kRadiusMin;
-
+
/// The types of circular corner rrects supported
enum RRectType {
kCircleCorner_RRectType, //<! All four corners have the same circular radius.
@@ -39,7 +39,7 @@
const SkRRect& getRRect() const { return fRRect; }
RRectType getType() const { return fRRectType; }
-
+
EdgeType getEdgeType() const { return fEdgeType; }
typedef GLRRectEffect GLEffect;
@@ -221,7 +221,7 @@
radiusPlusHalfName);
break;
}
-
+
if (kInverseFillAA_EdgeType == rre.getEdgeType()) {
builder->fsCodeAppend("\t\talpha = 1.0 - alpha;\n");
}
diff --git a/src/gpu/effects/GrRRectEffect.h b/src/gpu/effects/GrRRectEffect.h
index 7df7e6f..aadd8c2 100644
--- a/src/gpu/effects/GrRRectEffect.h
+++ b/src/gpu/effects/GrRRectEffect.h
@@ -17,10 +17,10 @@
enum EdgeType {
kFillAA_EdgeType,
kInverseFillAA_EdgeType,
-
+
kLastEdgeType = kInverseFillAA_EdgeType,
};
-
+
static const int kEdgeTypeCnt = kLastEdgeType + 1;
/**
diff --git a/tests/DynamicHashTest.cpp b/tests/DynamicHashTest.cpp
index 14ecf7a..b2d0f03 100644
--- a/tests/DynamicHashTest.cpp
+++ b/tests/DynamicHashTest.cpp
@@ -183,4 +183,3 @@
ASSERT(2 == count);
ASSERT(keys[0] != keys[1]);
}
-