Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 19 Jan 2013 07:05:38 +0000 (07:05 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 19 Jan 2013 07:05:38 +0000 (07:05 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@7293 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkBitmapProcState.cpp
src/effects/SkBicubicImageFilter.cpp
tests/PathTest.cpp

index 80d2e71..50f4c55 100644 (file)
@@ -451,9 +451,9 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s,
 
         if (s.fInvType > SkMatrix::kTranslate_Mask) {
             SkPoint pt;
-            s.fInvProc(*s.fInvMatrix, 
+            s.fInvProc(*s.fInvMatrix,
                        SkIntToScalar(x) + SK_ScalarHalf,
-                       SkIntToScalar(y) + SK_ScalarHalf, 
+                       SkIntToScalar(y) + SK_ScalarHalf,
                        &pt);
             yTemp = SkScalarFloorToInt(pt.fY);
         } else {
@@ -477,9 +477,9 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s,
 #ifdef SK_DEBUG
         {
             SkPoint pt;
-            s.fInvProc(*s.fInvMatrix, 
+            s.fInvProc(*s.fInvMatrix,
                        SkIntToScalar(x) + SK_ScalarHalf,
-                       SkIntToScalar(y) + SK_ScalarHalf, 
+                       SkIntToScalar(y) + SK_ScalarHalf,
                        &pt);
             int iY2;
 
index 22c8bff..cb85c81 100644 (file)
@@ -32,10 +32,10 @@ SkBicubicImageFilter::SkBicubicImageFilter(const SkSize& scale, const SkScalar c
 SkBicubicImageFilter* SkBicubicImageFilter::CreateMitchell(const SkSize& scale,
                                                            SkImageFilter* input) {
     static const SkScalar coefficients[16] = {
-        DS( 1.0 / 18.0), DS(-9.0 / 18.0), DS( 15.0 / 18.0), DS( -7.0 / 18.0), 
-        DS(16.0 / 18.0), DS( 0.0 / 18.0), DS(-36.0 / 18.0), DS( 21.0 / 18.0), 
-        DS( 1.0 / 18.0), DS( 9.0 / 18.0), DS( 27.0 / 18.0), DS(-21.0 / 18.0), 
-        DS( 0.0 / 18.0), DS( 0.0 / 18.0), DS( -6.0 / 18.0), DS(  7.0 / 18.0), 
+        DS( 1.0 / 18.0), DS(-9.0 / 18.0), DS( 15.0 / 18.0), DS( -7.0 / 18.0),
+        DS(16.0 / 18.0), DS( 0.0 / 18.0), DS(-36.0 / 18.0), DS( 21.0 / 18.0),
+        DS( 1.0 / 18.0), DS( 9.0 / 18.0), DS( 27.0 / 18.0), DS(-21.0 / 18.0),
+        DS( 0.0 / 18.0), DS( 0.0 / 18.0), DS( -6.0 / 18.0), DS(  7.0 / 18.0),
     };
     return SkNEW_ARGS(SkBicubicImageFilter, (scale, coefficients, input));
 }
index ee10140..5079b7e 100644 (file)
@@ -125,10 +125,10 @@ static void test_crbug_170666(skiatest::Reporter* reporter) {
     paint.setAntiAlias(true);
 
     SkAutoTUnref<SkSurface> surface(new_surface(1000, 1000));
-    
+
     build_path_simple_170666(path);
     surface->getCanvas()->drawPath(path, paint);
-    
+
     build_path_170666(path);
     surface->getCanvas()->drawPath(path, paint);
 }