Index: tests/CachedDecodingPixelRefTest.cpp |
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp |
index 6abcf3d3010415565ba674987692d4c1e064c2b7..1e4ab3f35db027181b0229867a48f526b6e6885b 100644 |
--- a/tests/CachedDecodingPixelRefTest.cpp |
+++ b/tests/CachedDecodingPixelRefTest.cpp |
@@ -300,12 +300,12 @@ DEF_TEST(DiscardableAndCachingPixelRef, reporter) { |
REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); |
SkDiscardableMemoryPool* globalPool = SkGetGlobalDiscardableMemoryPool(); |
+ // Only acts differently from NULL on a platform that has a |
+ // default discardable memory implementation that differs from the |
+ // global DM pool. |
CheckPixelRef(TestImageGenerator::kFailGetPixels_TestType, |
reporter, kSkDiscardable_PixelRefType, globalPool); |
CheckPixelRef(TestImageGenerator::kSucceedGetPixels_TestType, |
reporter, kSkDiscardable_PixelRefType, globalPool); |
- |
- // TODO(halcanary): When ashmem-backed SkDiscardableMemory lands, |
- // test that here (on platforms where it is availible). |
} |
//////////////////////////////////////////////////////////////////////////////// |