aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-04 02:01:34 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-04 02:01:34 +0000
commit7cc7f494796afc681355b15e88c57ef2709a9220 (patch)
tree90d0468ccd0d5730c70671216523556a0ea3dae5
parent3a80991b81976eb9a8f72b75da89e6969daea343 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5798 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--bench/TableBench.cpp26
-rw-r--r--include/core/SkPath.h2
-rw-r--r--src/core/SkPath.cpp2
-rw-r--r--src/core/SkPathRef.h2
4 files changed, 16 insertions, 16 deletions
diff --git a/bench/TableBench.cpp b/bench/TableBench.cpp
index 3c092aa4dc..e6efe25c48 100644
--- a/bench/TableBench.cpp
+++ b/bench/TableBench.cpp
@@ -30,13 +30,13 @@ public:
static const int kNumRows = 48;
static const int kNumCols = 32;
- TableBench(void* param)
- : INHERITED(param) {
+ TableBench(void* param)
+ : INHERITED(param) {
}
protected:
- virtual const char* onGetName() {
- return "tablebench";
+ virtual const char* onGetName() {
+ return "tablebench";
}
virtual void onDraw(SkCanvas* canvas) {
@@ -50,21 +50,21 @@ protected:
for (int i = 0; i < kNumIterations; ++i) {
for (int row = 0; row < kNumRows; ++row) {
for (int col = 0; col < kNumCols; ++col) {
- SkRect cell = SkRect::MakeLTRB(col * kCellWidth,
- row * kCellHeight,
- (col+1) * kCellWidth,
+ SkRect cell = SkRect::MakeLTRB(col * kCellWidth,
+ row * kCellHeight,
+ (col+1) * kCellWidth,
(row+1) * kCellHeight);
canvas->drawRect(cell, cellPaint);
- SkRect bottom = SkRect::MakeLTRB(col * kCellWidth,
- row * kCellHeight + (kCellHeight-SK_Scalar1),
- (col+1) * kCellWidth,
+ SkRect bottom = SkRect::MakeLTRB(col * kCellWidth,
+ row * kCellHeight + (kCellHeight-SK_Scalar1),
+ (col+1) * kCellWidth,
(row+1) * kCellHeight);
canvas->drawRect(bottom, borderPaint);
- SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1),
- row * kCellHeight,
- (col+1) * kCellWidth,
+ SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1),
+ row * kCellHeight,
+ (col+1) * kCellWidth,
(row+1) * kCellHeight);
canvas->drawRect(right, borderPaint);
}
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index a8320f6079..5ab0e48c9c 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -847,7 +847,7 @@ public:
PathRefDebugRef(SkPath* owner);
PathRefDebugRef(SkPathRef* pr, SkPath* owner);
~PathRefDebugRef();
- void reset(SkPathRef* ref);
+ void reset(SkPathRef* ref);
void swap(PathRefDebugRef* other);
SkPathRef* get() const;
SkAutoTUnref<SkPathRef>::BlockRefType *operator->() const;
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 2b640804d3..eb0e485ab3 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -64,7 +64,7 @@ SkPath::PathRefDebugRef::operator SkPathRef*() {
}
#endif
-
+
////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/SkPathRef.h b/src/core/SkPathRef.h
index 5fbc2b56af..5f85b7b896 100644
--- a/src/core/SkPathRef.h
+++ b/src/core/SkPathRef.h
@@ -38,7 +38,7 @@ class SkPathRef;
// This path ref should never be deleted once it is created. It should not be global but was made
// so for checks when SK_DEBUG_PATH_REF is enabled. It we be re-hidden when the debugging code is
// reverted.
-SkPathRef* gEmptyPathRef;
+SkPathRef* gEmptyPathRef;
// Temporary hackery to try to nail down http://code.google.com/p/chromium/issues/detail?id=148637
#if SK_DEBUG_PATH_REF