Index: tests/RecordReplaceDrawTest.cpp |
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp |
index e0e9466a2e674166908f9ec686c41e6404d57328..fd518fa177f9a82855903f241e4180ae2e121c56 100644 |
--- a/tests/RecordReplaceDrawTest.cpp |
+++ b/tests/RecordReplaceDrawTest.cpp |
@@ -85,8 +85,8 @@ DEF_TEST(RecordReplaceDraw_Unbalanced, r) { |
GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), NULL/*callback*/); |
- // ensure rerecord is balanced (in this case by checking that the count is even) |
- REPORTER_ASSERT(r, (rerecord.count() & 1) == 0); |
+ // ensure rerecord is balanced (in this case by checking that the count is odd) |
+ REPORTER_ASSERT(r, (rerecord.count() & 1) == 1); |
} |
// Test out the layer replacement functionality with and w/o a BBH |