diff options
author | 2013-10-16 07:02:24 +0000 | |
---|---|---|
committer | 2013-10-16 07:02:24 +0000 | |
commit | 472629190eb3c8220742c584e19f3a07b2d09c8c (patch) | |
tree | 32dbd198a2986e5735b7a7171ed8afed14568764 /tests | |
parent | f8dd38424cf4460dd10c390c4051f484edf1c210 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11800 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/DrawBitmapRectTest.cpp | 2 | ||||
-rw-r--r-- | tests/PathTest.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index 964634ca6e..119ad2f652 100644 --- a/tests/DrawBitmapRectTest.cpp +++ b/tests/DrawBitmapRectTest.cpp @@ -40,7 +40,7 @@ static void test_faulty_pixelref(skiatest::Reporter* reporter) { // construct a garbage data represent "bad" encoded data. SkAutoDataUnref data(SkData::NewFromMalloc(malloc(1000), 1000)); SkAutoTUnref<SkPixelRef> pr(new SkLazyPixelRef(data, FailureDecoder, &cache)); - + SkBitmap bm; bm.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); bm.setPixelRef(pr); diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 3aa24c3a11..61f06e099e 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -48,14 +48,14 @@ static void test_path_to_region(skiatest::Reporter* reporter) { make_path0, make_path1, }; - + SkRegion clip; clip.setRect(0, 0, 1255, 1925); - + for (size_t i = 0; i < SK_ARRAY_COUNT(procs); ++i) { SkPath path; procs[i](&path); - + SkRegion rgn; rgn.setPath(path, clip); path.toggleInverseFillType(); |