aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordReplaceDrawTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-12-11 07:30:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-11 07:30:58 -0800
commit7bc0b42567a304313a9c6eaaeba28076d24cbd85 (patch)
tree52b2e87b20ab13a5eb9df5b9cc90e7d9f037c09e /tests/RecordReplaceDrawTest.cpp
parent2ff1fcede1e9525285c5de1f35fb2dcb0fab32bd (diff)
update test after I added a clip call, making the count odd
BUG=skia: TBR= NOTREECHECKS=True NOTRY=True Review URL: https://codereview.chromium.org/797633002
Diffstat (limited to 'tests/RecordReplaceDrawTest.cpp')
-rw-r--r--tests/RecordReplaceDrawTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp
index e0e9466a2e..fd518fa177 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