From 989a95ea77230e8347da18876e1bd5f39a78ebb5 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Thu, 18 Oct 2012 02:01:23 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5989 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/DeferredCanvasTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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) { -- cgit v1.2.3