Review URL: https://codereview.appspot.com/6501045
git-svn-id: http://skia.googlecode.com/svn/trunk@5323
2bbb7eff-a529-9590-31e7-
b0007b416f81
for (int i = 0; i < fRepeats + 1; ++i) {
SkPicture replayer;
- SkCanvas* recorder = replayer.beginRecording(pict->width(), pict->height());
timer->start();
- recorder->drawPicture(*pict);
+ SkCanvas* recorder = replayer.beginRecording(pict->width(), pict->height());
+ pict->draw(recorder);
+ replayer.endRecording();
timer->end();
// We want to ignore first time effects