Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index ffcbc23d5645f3aa512679c99b9e4ee888fcddcf..180594e388a3ed4784b92d6cef9e1eafb5eaa9ed 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -547,7 +547,6 @@ 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, 2 == notificationCounter.fStorageAllocatedChangedCount); |
Justin Novosad
2014/05/06 17:08:14
Could we keep this assert and put it inside "#ifde
mtklein
2014/05/06 17:36:43
You bet. Now testing both sides.
|
REPORTER_ASSERT(reporter, 1 == notificationCounter.fFlushedDrawCommandsCount); |
REPORTER_ASSERT(reporter, canvas->storageAllocatedForRecording() < 2 * bitmapSize); |