Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index f279c21d1e51acc30507d6379d3c29535cbbb7c4..b61ae2ede2f9ab37493cbe576628aacc341e4908 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -547,11 +547,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); |
-#ifdef SK_DEBUG |
REPORTER_ASSERT(reporter, 2 == notificationCounter.fStorageAllocatedChangedCount); |
-#else |
- REPORTER_ASSERT(reporter, 3 == notificationCounter.fStorageAllocatedChangedCount); |
-#endif |
REPORTER_ASSERT(reporter, 1 == notificationCounter.fFlushedDrawCommandsCount); |
REPORTER_ASSERT(reporter, canvas->storageAllocatedForRecording() < 2 * bitmapSize); |