diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-18 02:01:23 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-18 02:01:23 +0000 |
commit | 989a95ea77230e8347da18876e1bd5f39a78ebb5 (patch) | |
tree | adef33aca3e1ec375fce63082fb3e2d81f5cf4ac /tests | |
parent | ee0b693532b713736cc89a6dfa333e893c98d912 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5989 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/DeferredCanvasTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp index bb5410871c..860edf9a2a 100644 --- a/tests/DeferredCanvasTest.cpp +++ b/tests/DeferredCanvasTest.cpp @@ -369,7 +369,7 @@ static void TestDeferredCanvasBitmapShaderNoLeak(skiatest::Reporter* reporter) { SkBitmap paintPattern; paintPattern.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); paintPattern.allocPixels(); - paint.setShader(SkNEW_ARGS(SkBitmapProcShader, + paint.setShader(SkNEW_ARGS(SkBitmapProcShader, (paintPattern, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode)))->unref(); canvas.drawPaint(paint); canvas.flush(); @@ -382,13 +382,13 @@ static void TestDeferredCanvasBitmapShaderNoLeak(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, newBytesAllocated > bytesAllocated); bytesAllocated = newBytesAllocated; } else { - REPORTER_ASSERT(reporter, newBytesAllocated == bytesAllocated); + REPORTER_ASSERT(reporter, newBytesAllocated == bytesAllocated); } } } - // All cached resources should be evictable since last canvas call was flush() + // All cached resources should be evictable since last canvas call was flush() canvas.freeMemoryIfPossible(~0); - REPORTER_ASSERT(reporter, 0 == canvas.storageAllocatedForRecording()); + REPORTER_ASSERT(reporter, 0 == canvas.storageAllocatedForRecording()); } static void TestDeferredCanvas(skiatest::Reporter* reporter) { |