diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-20 07:01:33 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-20 07:01:33 +0000 |
commit | f91e3d4f54de9976b6538decadd977b19e49eadd (patch) | |
tree | 7ff03e0ed2f12add6fc59c9ad10eec452fcc4c8a /tests | |
parent | 6932031271eb84843b309e630604e3caf5c9dc15 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11411 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ErrorTest.cpp | 4 | ||||
-rw-r--r-- | tests/FontMgrTest.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/ErrorTest.cpp b/tests/ErrorTest.cpp index 5b92808507..2d10640c68 100644 --- a/tests/ErrorTest.cpp +++ b/tests/ErrorTest.cpp @@ -29,12 +29,12 @@ static void cb(SkError err, void *context) { static void ErrorTest(skiatest::Reporter* reporter) { SkError err; - + unsigned int test_value = 0xdeadbeef; ErrorContext context; context.fReporter = reporter; context.fIntPointer = &test_value; - + SkSetErrorCallback(cb, &context); CHECK(kNoError_SkError); diff --git a/tests/FontMgrTest.cpp b/tests/FontMgrTest.cpp index cffc22fa7d..9b683f72c3 100644 --- a/tests/FontMgrTest.cpp +++ b/tests/FontMgrTest.cpp @@ -20,7 +20,7 @@ static void test_alias_names(skiatest::Reporter* reporter) { const char* inNames[] = { "sans", "sans-serif", "serif", "monospace", "times", "helvetica" }; - + for (size_t i = 0; i < SK_ARRAY_COUNT(inNames); ++i) { SkAutoTUnref<SkTypeface> first(SkTypeface::CreateFromName(inNames[i], SkTypeface::kNormal)); |