Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 8075913dd7d0588640d1fbab29bf04d259c7e6f9..179a33c8bf59f5e469f5003b4858b24d8dad35e4 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -60,7 +60,7 @@ static void test_image(skiatest::Reporter* reporter) { |
size_t size = info.getSafeSize(rowBytes); |
void* addr = sk_malloc_throw(size); |
SkData* data = SkData::NewFromMalloc(addr, size); |
- |
+ |
REPORTER_ASSERT(reporter, 1 == data->getRefCnt()); |
SkImage* image = SkImage::NewRasterData(info, data, rowBytes); |
REPORTER_ASSERT(reporter, 2 == data->getRefCnt()); |
@@ -124,7 +124,7 @@ static void test_imagepeek(skiatest::Reporter* reporter) { |
for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { |
SkImageInfo info; |
size_t rowBytes; |
- |
+ |
SkAutoTUnref<SkImage> image(createImage(gRec[i].fType, NULL, color)); |
if (!image.get()) { |
continue; // gpu may not be enabled |