Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 4 Dec 2013 07:02:26 +0000 (07:02 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 4 Dec 2013 07:02:26 +0000 (07:02 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@12477 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkPathRef.h
include/gpu/GrTypes.h
src/gpu/GrTextStrike.cpp
tests/PathTest.cpp

index fd9b339302d7ea5125cabf09c3f5b178ad72bd40..5d55c72cedec76da5996a4dc7c2bfb8617b42d51 100644 (file)
@@ -133,7 +133,7 @@ public:
      *              optimization for performance and so some paths that are in
      *              fact ovals can report false.
      */
-    bool isOval(SkRect* rect) const { 
+    bool isOval(SkRect* rect) const {
         if (fIsOval && NULL != rect) {
             *rect = getBounds();
         }
index 67dcf518e7415cb9aeb0a48da6b9c556ea1b7952..0bb432d663c51eda8bfa7a91c2a2fa33e52f2827 100644 (file)
@@ -252,7 +252,7 @@ static inline int GrMaskFormatBytesPerPixel(GrMaskFormat format) {
     // kA8   (0) -> 1
     // kA565 (1) -> 2
     // kA888 (2) -> 4
-    // kARGB (3) -> 4    
+    // kARGB (3) -> 4
     static const int sBytesPerPixel[] = { 1, 2, 4, 4 };
     SK_COMPILE_ASSERT(SK_ARRAY_COUNT(sBytesPerPixel) == kMaskFormatCount, array_size_mismatch);
 
index a4d3575d221b95c574d15205221320fa07f6d67e..bae5361075bca11323ae737439e37f794dd7270d 100644 (file)
@@ -47,9 +47,9 @@ GrFontCache::~GrFontCache() {
 }
 
 static GrPixelConfig mask_format_to_pixel_config(GrMaskFormat format) {
-    static const GrPixelConfig sPixelConfigs[] = { 
-        kAlpha_8_GrPixelConfig, 
-        kRGB_565_GrPixelConfig, 
+    static const GrPixelConfig sPixelConfigs[] = {
+        kAlpha_8_GrPixelConfig,
+        kRGB_565_GrPixelConfig,
         kSkia8888_GrPixelConfig,
         kSkia8888_GrPixelConfig
     };
@@ -59,11 +59,11 @@ static GrPixelConfig mask_format_to_pixel_config(GrMaskFormat format) {
 }
 
 static int mask_format_to_atlas_index(GrMaskFormat format) {
-    static const int sAtlasIndices[] = { 
-        GrFontCache::kA8_AtlasType, 
-        GrFontCache::k565_AtlasType, 
-        GrFontCache::k8888_AtlasType, 
-        GrFontCache::k8888_AtlasType 
+    static const int sAtlasIndices[] = {
+        GrFontCache::kA8_AtlasType,
+        GrFontCache::k565_AtlasType,
+        GrFontCache::k8888_AtlasType,
+        GrFontCache::k8888_AtlasType
     };
     SK_COMPILE_ASSERT(SK_ARRAY_COUNT(sAtlasIndices) == kMaskFormatCount, array_size_mismatch);
 
index 03fe3d49ba846272ec505e50a3b4f554c4be396e..06ecff6281956be37b4b39d1aeba1c0ad4b3f36f 100644 (file)
@@ -1951,9 +1951,9 @@ static void test_transform(skiatest::Reporter* reporter) {
 
         SkPath p1;      // Leave p1 non-unique (i.e., the empty path)
 
-        p.transform(matrix, &p1); 
+        p.transform(matrix, &p1);
         SkPoint pts1[kPtCount];
-        int count = p1.getPoints(pts1, kPtCount); 
+        int count = p1.getPoints(pts1, kPtCount);
         REPORTER_ASSERT(reporter, kPtCount == count);
         for (int i = 0; i < count; ++i) {
             SkPoint newPt = SkPoint::Make(pts[i].fX * 2, pts[i].fY * 3);