aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PaintTest.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-03 07:00:57 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-03 07:00:57 +0000
commit98a196770cc7b9914ad68367c5b06829a5e0b440 (patch)
tree9bc11b7b5033327a40812eee3debe5be7c8aa9bd /tests/PaintTest.cpp
parentc631b792c4560cc5f508438de00999c078b32367 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9882 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PaintTest.cpp')
-rw-r--r--tests/PaintTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
index 20dda6b6a4..5631632bdb 100644
--- a/tests/PaintTest.cpp
+++ b/tests/PaintTest.cpp
@@ -82,14 +82,14 @@ static void test_cmap(skiatest::Reporter* reporter) {
}
// inject some random chars, to sometimes abort early
src[rand.nextU() & 63] = rand.nextU() & 0xFFF;
-
+
for (size_t k = 0; k < SK_ARRAY_COUNT(gRec); ++k) {
paint.setTextEncoding(gRec[k].fEncoding);
size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
-
+
uint16_t glyphs0[NGLYPHS], glyphs1[NGLYPHS];
-
+
bool contains = paint.containsText(dst, len);
int nglyphs = paint.textToGlyphs(dst, len, glyphs0);
int first = face->charsToGlyphs(dst, paint2encoding(paint), glyphs1, NGLYPHS);
@@ -231,7 +231,7 @@ static void TestPaint(skiatest::Reporter* reporter) {
regression_measureText(reporter);
test_bicubic(reporter);
-
+
// need to implement charsToGlyphs on other backends (e.g. linux, win)
// before we can run this tests everywhere
if (false) {