Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 23 Jan 2013 07:06:17 +0000 (07:06 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 23 Jan 2013 07:06:17 +0000 (07:06 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@7332 2bbb7eff-a529-9590-31e7-b0007b416f81

include/effects/SkArithmeticMode.h
src/core/SkBitmapProcState.cpp
src/core/SkXfermode.cpp
src/effects/SkArithmeticMode.cpp
src/gpu/GrContext.cpp

index a073f2f1aa54ed31417c12cc7706fbf990036eb0..dc5493f7740260de48c4e4d5fb8dfa24794bb074 100644 (file)
@@ -26,7 +26,7 @@ public:
                               SkScalar k3, SkScalar k4);
 
 private:
-    typedef SkXfermode INHERITED;    
+    typedef SkXfermode INHERITED;
 };
 
 #endif
index 4d66860c8dbf678914e9d6a428d93726d312fcf1..92e55e876ad4349b28ed4fe43043e1bfe5b7900e 100644 (file)
@@ -456,7 +456,7 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s,
                        SkIntToScalar(y) + SK_ScalarHalf,
                        &pt);
             // When the matrix has a scale component the setup code in
-            // chooseProcs multiples the inverse matrix by the inverse of the 
+            // chooseProcs multiples the inverse matrix by the inverse of the
             // bitmap's width and height. Since this method is going to do
             // its own tiling and sampling we need to undo that here.
             if (SkShader::kClamp_TileMode != s.fTileModeX ||
index 8c62bb7ad43cec4365aa7932268267cdbe0a4ee2..a248cda134f9614cfeaa7f2ddc0204cb2afed165 100644 (file)
@@ -779,7 +779,7 @@ void SkProcCoeffXfermode::toString(SkString* str) const {
     str->append(gModeStrings[fMode]);
 
     static const char* gCoeffStrings[kCoeffCount] = {
-        "Zero", "One", "SC", "ISC", "DC", "IDC", "SA", "ISA", "DA", "IDA" 
+        "Zero", "One", "SC", "ISC", "DC", "IDC", "SA", "ISA", "DA", "IDA"
     };
 
     str->append(" src: ");
index cb3657f35bb93b26613821bf5695be7cd05a6c90..df6ff50fe4b8be1d1fad94096785a399410d2e47 100644 (file)
@@ -28,7 +28,7 @@ public:
 private:
     SkScalar fK[4];
 
-    typedef SkXfermode INHERITED;    
+    typedef SkXfermode INHERITED;
 };
 
 static int pinToByte(int value) {
index 077d2465d31558135f874f63e793e5af401136d3..be057fc378f0200cc4c0d637fdfbe8be403b80b6 100644 (file)
@@ -950,7 +950,7 @@ void GrContext::drawOval(const GrPaint& paint,
         path.addOval(oval);
         this->drawPath(paint, path, stroke);
         return;
-    } 
+    }
 
     internalDrawOval(paint, oval, stroke);
 }
@@ -960,10 +960,10 @@ bool GrContext::canDrawOval(const GrPaint& paint, const GrRect& oval, const SkSt
     if (!paint.isAntiAlias()) {
         return false;
     }
+
     // we can draw circles in any style
-    bool isCircle = SkScalarNearlyEqual(oval.width(), oval.height()) 
-                    && circleStaysCircle(this->getMatrix()); 
+    bool isCircle = SkScalarNearlyEqual(oval.width(), oval.height())
+                    && circleStaysCircle(this->getMatrix());
     // and for now, axis-aligned ellipses only with fill or stroke-and-fill
     SkStrokeRec::Style style = stroke.getStyle();
     bool isStroke = (style == SkStrokeRec::kStroke_Style || style == SkStrokeRec::kHairline_Style);
@@ -978,11 +978,11 @@ void GrContext::internalDrawOval(const GrPaint& paint,
 
     SkScalar xRadius = SkScalarHalf(oval.width());
     SkScalar yRadius = SkScalarHalf(oval.height());
-   
+
     SkScalar strokeWidth = stroke.getWidth();
     SkStrokeRec::Style style = stroke.getStyle();
 
-    bool isCircle = SkScalarNearlyEqual(xRadius, yRadius) && circleStaysCircle(this->getMatrix()); 
+    bool isCircle = SkScalarNearlyEqual(xRadius, yRadius) && circleStaysCircle(this->getMatrix());
 #ifdef SK_DEBUG
     {
         // we should have checked for this previously
@@ -1080,7 +1080,7 @@ void GrContext::internalDrawOval(const GrPaint& paint,
         }
 
         SkScalar ratio = SkScalarDiv(xRadius, yRadius);
-       
+
         for (int i = 0; i < 4; ++i) {
             verts[i].fCenter = center;
             verts[i].fOuterRadius = xRadius;