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

bench/GameBench.cpp
src/fonts/SkFontMgr_fontconfig.cpp
src/ports/SkFontHost_fontconfig.cpp

index bfb2337eff403d9243321cd0f96e6685066a5238..63a0d02f978a8cbfe36ce1a97295b8cf4510d468 100644 (file)
@@ -140,7 +140,7 @@ protected:
         SkPaint p2;         // for drawVertices path
         p2.setColor(0xFF000000);
         p2.setFilterBitmap(true);
-        p2.setShader(SkShader::CreateBitmapShader(fAtlas, 
+        p2.setShader(SkShader::CreateBitmapShader(fAtlas,
                                                   SkShader::kClamp_TileMode,
                                                   SkShader::kClamp_TileMode))->unref();
 
@@ -197,14 +197,14 @@ protected:
                 curCell = (curCell + 1) % (kNumAtlasedX*kNumAtlasedY);
 
                 if (fUseDrawVertices) {
-                    SkPoint uvs[4] = { 
+                    SkPoint uvs[4] = {
                         { SkIntToScalar(src.fLeft),  SkIntToScalar(src.fBottom) },
                         { SkIntToScalar(src.fLeft),  SkIntToScalar(src.fTop) },
                         { SkIntToScalar(src.fRight), SkIntToScalar(src.fTop) },
                         { SkIntToScalar(src.fRight), SkIntToScalar(src.fBottom) },
                     };
                     canvas->drawVertices(SkCanvas::kTriangles_VertexMode,
-                                         4, verts, uvs, NULL, NULL, 
+                                         4, verts, uvs, NULL, NULL,
                                          indices, 6, p2);
                 } else {
                     canvas->drawBitmapRect(fAtlas, &src, dst, &p);
index 27b5f313f5f9fd56592b4509462fa38fe423fb3d..367faf85284e4ddd948d892bf8d39dadf8634db8 100644 (file)
@@ -282,7 +282,7 @@ protected:
         SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path));
         return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
     }
-    
+
     virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
                                                unsigned styleBits) SK_OVERRIDE {
         return FontConfigTypeface::LegacyCreateTypeface(NULL, familyName,
index 75c21c243bca4b483c71c3c02eea53b8242e6305..2826c6e7831165e933d2f89f6ce44231c3ad6e15 100644 (file)
@@ -211,5 +211,3 @@ void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc,
 SkTypeface* FontConfigTypeface::onRefMatchingStyle(Style style) const {
     return LegacyCreateTypeface(this, NULL, style);
 }
-
-