aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 07:01:51 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 07:01:51 +0000
commit3ddb793e30c5ed70ea0b029268fca8a55287f6ad (patch)
treeaab0c4312b7026b2dff0a2698377f44c035c6c2b
parent7935d7ca73df1036699b056679c085da141abde7 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8324 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/core/SkTypeface.cpp1
-rw-r--r--src/gpu/gl/GrGpuGL_program.cpp2
-rw-r--r--src/ports/SkFontHost_fontconfig.cpp1
-rw-r--r--src/ports/SkHarfBuzzFont.cpp1
4 files changed, 1 insertions, 4 deletions
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp
index dc0fefd5c6..9a9ebcb802 100644
--- a/src/core/SkTypeface.cpp
+++ b/src/core/SkTypeface.cpp
@@ -185,4 +185,3 @@ size_t SkTypeface::onGetTableData(SkFontTableTag tag, size_t offset,
? SkFontStream::GetTableData(stream, ttcIndex, tag, offset, length, data)
: 0;
}
-
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp
index 8111a03ca7..a07ad02501 100644
--- a/src/gpu/gl/GrGpuGL_program.cpp
+++ b/src/gpu/gl/GrGpuGL_program.cpp
@@ -33,7 +33,7 @@ GrGpuGL::ProgramCache::~ProgramCache() {
SkDebugf("--- Program Cache ---\n");
SkDebugf("Total requests: %d\n", fTotalRequests);
SkDebugf("Cache misses: %d\n", fCacheMisses);
- SkDebugf("Cache miss %%: %f\n", (fTotalRequests > 0)
+ SkDebugf("Cache miss %%: %f\n", (fTotalRequests > 0)
? (float)fCacheMisses/(float)fTotalRequests : 0.0f);
SkDebugf("---------------------\n");
#endif
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp
index 872d4e4a16..0ec041c10b 100644
--- a/src/ports/SkFontHost_fontconfig.cpp
+++ b/src/ports/SkFontHost_fontconfig.cpp
@@ -273,4 +273,3 @@ void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc) const {
desc->setStyle(this->style());
desc->setFamilyName(this->getFamilyName());
}
-
diff --git a/src/ports/SkHarfBuzzFont.cpp b/src/ports/SkHarfBuzzFont.cpp
index 4e6f48da0d..8f483f5d2f 100644
--- a/src/ports/SkHarfBuzzFont.cpp
+++ b/src/ports/SkHarfBuzzFont.cpp
@@ -185,4 +185,3 @@ HB_Error SkHarfBuzzFont::GetFontTableFunc(void* voidface, const HB_Tag tag,
typeface->getTableData(tag, 0, tableSize, buffer);
return HB_Err_Ok;
}
-