Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index 7ed57bed4ed38dca3d3f35b68c852d698c16d3c6..829851edabaff1985241ab4da07da4fbdbc2b439 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -735,7 +735,9 @@ DEF_TEST(DiscardablePixelRef_SecondLockColorTableCheck, r) { |
if (!SkInstallDiscardablePixelRef( |
SkDecodingImageGenerator::Create( |
encoded, SkDecodingImageGenerator::Options()), &bitmap)) { |
+ #ifndef SK_BUILD_FOR_WIN |
ERRORF(r, "SkInstallDiscardablePixelRef [randPixels.gif] failed."); |
+ #endif |
return; |
} |
if (kIndex_8_SkColorType != bitmap.colorType()) { |