Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Apr 2013 07:01:04 +0000 (07:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Apr 2013 07:01:04 +0000 (07:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@8851 2bbb7eff-a529-9590-31e7-b0007b416f81

bench/BlurImageFilterBench.cpp
bench/LightingBench.cpp
src/pdf/SkPDFStream.h
tests/PDFPrimitivesTest.cpp
tests/TileGridTest.cpp
tools/render_pdfs_main.cpp

index 0bc9240..1666f57 100644 (file)
@@ -85,5 +85,3 @@ DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL,
 DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, false);)
 DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, true);)
 DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, false);)
-
-
index 16c928f..9f25434 100644 (file)
@@ -224,4 +224,3 @@ DEF_BENCH( return new LightingDistantLitSpecularBench(p, true); )
 DEF_BENCH( return new LightingDistantLitSpecularBench(p, false); )
 DEF_BENCH( return new LightingSpotLitSpecularBench(p, true); )
 DEF_BENCH( return new LightingSpotLitSpecularBench(p, false); )
-
index 4b8153f..e3e4a80 100644 (file)
@@ -85,7 +85,7 @@ protected:
 private:
     // Indicates what form (or if) the stream has been requested.
     State fState;
-    
+
     // TODO(vandebo): Use SkData (after removing deprecated constructor).
     SkAutoTUnref<SkStream> fData;
     SkAutoTUnref<SkPDFStream> fSubstitute;
index d8e8b8b..0e9cbde 100644 (file)
@@ -286,7 +286,7 @@ static void TestFlateDecode(skiatest::Reporter* reporter) {
     if (!SkFlate::HaveFlate()) {
         return;
     }
-    SkBitmap bitmap;   
+    SkBitmap bitmap;
     setup_bitmap(&bitmap, 10, 10);
     TestImage(reporter, bitmap,
               "/Subtype /Image\n"
@@ -428,7 +428,7 @@ static void TestPDFPrimitives(skiatest::Reporter* reporter) {
 
     test_issue1083();
 
-    TestImages(reporter);    
+    TestImages(reporter);
 }
 
 #include "TestClassDef.h"
index e409afd..f4a0af8 100644 (file)
@@ -238,7 +238,7 @@ public:
             mockCanvas.translate(SkFloatToScalar(-8.0f), SkFloatToScalar(-8.0f));
             picture.draw(&mockCanvas);
             // This test passes by not asserting. We do not validate the rects recorded
-            // because the result is numerically unstable (floating point equality). 
+            // because the result is numerically unstable (floating point equality).
             // The content of any one of the four tiles of the tilegrid would be a valid
             // result since any bbox that covers the center point of the canvas will be
             // recorded in all four tiles.
index 96666ac..f2ce0a5 100644 (file)
@@ -90,7 +90,7 @@ static bool encode_to_dct_stream(SkWStream* stream, const SkBitmap& bitmap, cons
             SkAssertResult(bitmap.extractSubset(&subset, rect));
             bitmapToUse = &subset;
         }
-    
+
 #if defined(SK_BUILD_FOR_MAC)
         // Workaround bug #1043 where bitmaps with referenced pixels cause
         // CGImageDestinationFinalize to crash
@@ -245,7 +245,7 @@ static void parse_commandline(int argc, char* const argv[],
             if (gJpegQuality < -1 || gJpegQuality > 100) {
                 SkDebugf("Invalid argument for --jpegQuality\n");
                 usage(argv0);
-                exit(-1);            
+                exit(-1);
             }
         } else {
             inputs->push_back(SkString(*argv));