Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index b960fe36071485d1d0d1683f0c5a59365e84c690..b8b82b2e8329429c31a052f24af8871a74e4021a 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -532,7 +532,7 @@ static void TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) { |
canvas->drawBitmap(sourceImages[0], 0, 0, NULL); |
REPORTER_ASSERT(reporter, 2 == notificationCounter.fStorageAllocatedChangedCount); |
canvas->drawBitmap(sourceImages[0], 0, 0, NULL); |
- REPORTER_ASSERT(reporter, 3 == notificationCounter.fStorageAllocatedChangedCount); |
+ REPORTER_ASSERT(reporter, 2 == notificationCounter.fStorageAllocatedChangedCount); |
REPORTER_ASSERT(reporter, 1 == notificationCounter.fFlushedDrawCommandsCount); |
REPORTER_ASSERT(reporter, canvas->storageAllocatedForRecording() < 2 * bitmapSize); |
@@ -790,7 +790,7 @@ static void TestDeferredCanvasSetSurface(skiatest::Reporter* reporter, GrContext |
} |
surface = SkSurface::NewRenderTarget(context, imageSpec); |
alternateSurface = SkSurface::NewRenderTarget(context, imageSpec); |
- } else |
+ } else |
#endif |
{ |
surface = SkSurface::NewRaster(imageSpec); |