aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 07:09:08 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 07:09:08 +0000
commit075b089b1b8c4063a5724b86f104e052a49289b2 (patch)
treeb2ffe33664a0167c1a6d46a46262b650f65e7723
parentb069e40b73287649da5691e97db9170d464267b7 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7976 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/core/SkFontStream.cpp2
-rw-r--r--src/core/SkFontStream.h2
-rw-r--r--src/ports/SkFontHost_fontconfig.cpp2
-rw-r--r--src/ports/SkFontHost_tables.cpp2
-rw-r--r--tests/ClipCacheTest.cpp2
-rw-r--r--tools/PictureRenderingFlags.cpp1
-rw-r--r--tools/PictureRenderingFlags.h1
-rw-r--r--tools/SkFlags.cpp1
-rw-r--r--tools/SkFlags.h2
9 files changed, 2 insertions, 13 deletions
diff --git a/src/core/SkFontStream.cpp b/src/core/SkFontStream.cpp
index 0b37fb1c53..e7ce370705 100644
--- a/src/core/SkFontStream.cpp
+++ b/src/core/SkFontStream.cpp
@@ -165,5 +165,3 @@ size_t SkFontStream::GetTableData(SkStream* stream, SkFontTableTag tag,
}
return 0;
}
-
-
diff --git a/src/core/SkFontStream.h b/src/core/SkFontStream.h
index 787a986e6e..5324df372b 100644
--- a/src/core/SkFontStream.h
+++ b/src/core/SkFontStream.h
@@ -20,5 +20,3 @@ public:
};
#endif
-
-
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp
index 00db3dea00..fef1bab96c 100644
--- a/src/ports/SkFontHost_fontconfig.cpp
+++ b/src/ports/SkFontHost_fontconfig.cpp
@@ -308,5 +308,3 @@ void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc) const {
desc->setStyle(this->style());
desc->setFamilyName(this->getFamilyName());
}
-
-
diff --git a/src/ports/SkFontHost_tables.cpp b/src/ports/SkFontHost_tables.cpp
index bd767f8c77..5a5deeea27 100644
--- a/src/ports/SkFontHost_tables.cpp
+++ b/src/ports/SkFontHost_tables.cpp
@@ -50,5 +50,3 @@ size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag,
SkAutoUnref au(stream);
return SkFontStream::GetTableData(stream, tag, offset, length, data);
}
-
-
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
index d27013096d..932fddb2a5 100644
--- a/tests/ClipCacheTest.cpp
+++ b/tests/ClipCacheTest.cpp
@@ -62,7 +62,7 @@ static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) {
SkIRect intScreen = SkIRect::MakeWH(kXSize, kYSize);
SkRect screen;
-
+
screen = SkRect::MakeWH(SkIntToScalar(kXSize),
SkIntToScalar(kYSize));
diff --git a/tools/PictureRenderingFlags.cpp b/tools/PictureRenderingFlags.cpp
index d8522013cf..3cb1e96b74 100644
--- a/tools/PictureRenderingFlags.cpp
+++ b/tools/PictureRenderingFlags.cpp
@@ -308,4 +308,3 @@ sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool) {
return renderer.detach();
}
-
diff --git a/tools/PictureRenderingFlags.h b/tools/PictureRenderingFlags.h
index 6b6d249b24..9e49d30dfb 100644
--- a/tools/PictureRenderingFlags.h
+++ b/tools/PictureRenderingFlags.h
@@ -31,4 +31,3 @@ enum PictureTool {
sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool);
#endif // PICTURE_RENDERING_FLAGS
-
diff --git a/tools/SkFlags.cpp b/tools/SkFlags.cpp
index 0c52269fab..b4337d1273 100644
--- a/tools/SkFlags.cpp
+++ b/tools/SkFlags.cpp
@@ -132,4 +132,3 @@ void SkFlags::ParseCommandLine(int argc, char** argv) {
exit(0);
}
}
-
diff --git a/tools/SkFlags.h b/tools/SkFlags.h
index f68a9c199f..d40cdd06f3 100644
--- a/tools/SkFlags.h
+++ b/tools/SkFlags.h
@@ -175,7 +175,7 @@ public:
const char* defaultValue, const char* helpString) {
SkFlagInfo* info = SkNEW_ARGS(SkFlagInfo, (name, kString_FlagType, helpString));
info->fDefaultString.set(defaultValue);
-
+
info->fStrings = pStrings;
info->fStrings->reset();
// If default is "", leave the array empty.