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

samplecode/SampleFilterFuzz.cpp
src/gpu/GrAAHairLinePathRenderer.cpp
tests/ErrorTest.cpp
tests/FontMgrTest.cpp

index ad8cd3b..17e8306 100644 (file)
@@ -231,7 +231,7 @@ static SkImageFilter* make_image_filter(bool canBeNull = true) {
                 make_scalar(true), make_scalar(true), R(10.0f), make_scalar()) :
             SkPerlinNoiseShader::CreateTubulence(
                 make_scalar(true), make_scalar(true), R(10.0f), make_scalar()));
-        filter = SkRectShaderImageFilter::Create(shader, 
+        filter = SkRectShaderImageFilter::Create(shader,
                                                  SkRect::MakeWH(SkIntToScalar(kBitmapSize),
                                                                 SkIntToScalar(kBitmapSize)));
     }
index b58f6af..02c4419 100644 (file)
@@ -761,7 +761,7 @@ bool GrAAHairLinePathRenderer::createLineGeom(const SkPath& path,
     for (int i = 0; i < lineCnt; ++i) {
         add_line(&lines[2*i], toSrc, drawState->getCoverage(), &verts);
     }
-    // All the verts computed by add_line are within sqrt(1^2 + 0.5^2) of the end points. 
+    // All the verts computed by add_line are within sqrt(1^2 + 0.5^2) of the end points.
     static const SkScalar kSqrtOfOneAndAQuarter = SkFloatToScalar(1.118f);
     // Add a little extra to account for vector normalization precision.
     static const SkScalar kOutset = kSqrtOfOneAndAQuarter + SK_Scalar1 / 20;
index 5b92808..2d10640 100644 (file)
@@ -29,12 +29,12 @@ static void cb(SkError err, void *context) {
 
 static void ErrorTest(skiatest::Reporter* reporter) {
     SkError err;
-    
+
     unsigned int test_value = 0xdeadbeef;
     ErrorContext context;
     context.fReporter = reporter;
     context.fIntPointer = &test_value;
-    
+
     SkSetErrorCallback(cb, &context);
 
     CHECK(kNoError_SkError);
index cffc22f..9b683f7 100644 (file)
@@ -20,7 +20,7 @@ static void test_alias_names(skiatest::Reporter* reporter) {
     const char* inNames[] = {
         "sans", "sans-serif", "serif", "monospace", "times", "helvetica"
     };
-    
+
     for (size_t i = 0; i < SK_ARRAY_COUNT(inNames); ++i) {
         SkAutoTUnref<SkTypeface> first(SkTypeface::CreateFromName(inNames[i],
                                                           SkTypeface::kNormal));