Fix return value in read pixels unit test
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 10 Nov 2011 15:10:24 +0000 (15:10 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 10 Nov 2011 15:10:24 +0000 (15:10 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@2656 2bbb7eff-a529-9590-31e7-b0007b416f81

tests/ReadPixelsTest.cpp

index 026694f3fcb4641df3ec2244d414cf507b2296c8..088aff232883cab9eeaec6f2c8036f9da29c9441 100644 (file)
@@ -205,7 +205,7 @@ bool checkRead(skiatest::Reporter* reporter,
             }
         }
     }
-    return failed;
+    return !failed;
 }
 
 enum BitmapInit {