Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 16 Aug 2013 07:01:49 +0000 (07:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 16 Aug 2013 07:01:49 +0000 (07:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@10764 2bbb7eff-a529-9590-31e7-b0007b416f81

bench/WritePixelsBench.cpp
gm/aaclip.cpp
src/core/SkStroke.cpp

index ea6f88cf6bf8faf46a29fbb30c1e4e203af61909..7803a6d70bd0d616f4078b19d5b837cf47150c40 100644 (file)
@@ -14,7 +14,7 @@
 class WritePixelsBench : public SkBenchmark {
 public:
     WritePixelsBench(void* param, SkCanvas::Config8888 config)
-        : INHERITED(param) 
+        : INHERITED(param)
         , fConfig(config)
         , fName("writepix") {
         switch (config) {
@@ -36,7 +36,7 @@ public:
             case SkCanvas::kRGBA_Unpremul_Config8888:
                 fName.append("_rgba_UPM");
                 break;
-            default: 
+            default:
                 SK_CRASH();
                 break;
         }
@@ -74,4 +74,3 @@ private:
 
 DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (p, SkCanvas::kRGBA_Premul_Config8888)); )
 DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (p, SkCanvas::kRGBA_Unpremul_Config8888)); )
-
index 0725ea2d0f6f25c00808f73adb57ff70f69b4d86..f57e57c400775a0b6796c1ee169475d7171f2987 100644 (file)
@@ -15,7 +15,7 @@ static void test_quadstroke(SkCanvas* canvas) {
     path.quadTo(150, 150, 0, 6);
 
     SkPaint paint;
-    
+
     paint.setAntiAlias(true);
     paint.setStyle(SkPaint::kStroke_Style);
     canvas->translate(20, 20);
@@ -24,7 +24,7 @@ static void test_quadstroke(SkCanvas* canvas) {
     canvas->drawPath(path, paint);
     canvas->translate(100, 0);
 #endif
-    
+
     paint.setStrokeWidth(1.01f);
     canvas->drawPath(path, paint);
 }
index 20372247330cdcf36e3286e3bc767e62578d451f..b138c326bab497c96429ed1d111ff57954c8ab0d 100644 (file)
@@ -35,7 +35,7 @@ static inline bool normals_too_pinchy(const SkVector& norm0, SkVector& norm1) {
     static const int kMinSigBitsForDot = 8;
     static const SkScalar kDotEpsilon = FLT_EPSILON * (1 << kMinSigBitsForDot);
     static const SkScalar kTooPinchyNormalDotProd = kDotEpsilon - 1;
-    
+
     // just some sanity asserts to help document the expected range
     SkASSERT(kTooPinchyNormalDotProd >= -1);
     SkASSERT(kTooPinchyNormalDotProd < SkDoubleToScalar(-0.999));