From 7bc0b42567a304313a9c6eaaeba28076d24cbd85 Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 11 Dec 2014 07:30:58 -0800 Subject: [PATCH] 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 --- tests/RecordReplaceDrawTest.cpp | 4 ++-- 1 file 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