| Index: tests/RecorderTest.cpp
|
| diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp
|
| index 384425ddc241f2890a505bc809f76057c18e30b9..d5b57d1132792ed9cdba95a598db3f9a39ab3b2b 100644
|
| --- a/tests/RecorderTest.cpp
|
| +++ b/tests/RecorderTest.cpp
|
| @@ -39,7 +39,9 @@ DEF_TEST(Recorder, r) {
|
| recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
|
|
|
| Tally tally;
|
| - record.visit(tally);
|
| + for (unsigned i = 0; i < record.count(); i++) {
|
| + record.visit(i, tally);
|
| + }
|
|
|
| REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>());
|
| }
|
|
|