diff options
-rw-r--r-- | bench/TableBench.cpp | 26 | ||||
-rw-r--r-- | include/core/SkPath.h | 2 | ||||
-rw-r--r-- | src/core/SkPath.cpp | 2 | ||||
-rw-r--r-- | src/core/SkPathRef.h | 2 |
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 |