aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-25 07:01:04 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-25 07:01:04 +0000
commit83f0d302e8eaa054d0b20303131f953181dd4f47 (patch)
treef228f7c1a11af205275b168b5ff9cde0f7952705
parent18c41acf35eefc75ef4631fbb680ec64861b30af (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8851 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--bench/BlurImageFilterBench.cpp2
-rw-r--r--bench/LightingBench.cpp1
-rw-r--r--src/pdf/SkPDFStream.h2
-rw-r--r--tests/PDFPrimitivesTest.cpp4
-rw-r--r--tests/TileGridTest.cpp2
-rw-r--r--tools/render_pdfs_main.cpp4
6 files changed, 6 insertions, 9 deletions
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp
index 0bc92406ab..1666f57b93 100644
--- a/bench/BlurImageFilterBench.cpp
+++ b/bench/BlurImageFilterBench.cpp
@@ -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);)
-
-
diff --git a/bench/LightingBench.cpp b/bench/LightingBench.cpp
index 16c928fe2f..9f25434bcc 100644
--- a/bench/LightingBench.cpp
+++ b/bench/LightingBench.cpp
@@ -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); )
-
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h
index 4b8153f9ab..e3e4a802b0 100644
--- a/src/pdf/SkPDFStream.h
+++ b/src/pdf/SkPDFStream.h
@@ -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;
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
index d8e8b8b12c..0e9cbde7b3 100644
--- a/tests/PDFPrimitivesTest.cpp
+++ b/tests/PDFPrimitivesTest.cpp
@@ -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"
diff --git a/tests/TileGridTest.cpp b/tests/TileGridTest.cpp
index e409afd27c..f4a0af8c8b 100644
--- a/tests/TileGridTest.cpp
+++ b/tests/TileGridTest.cpp
@@ -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.
diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp
index 96666acec9..f2ce0a5423 100644
--- a/tools/render_pdfs_main.cpp
+++ b/tools/render_pdfs_main.cpp
@@ -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));