| Index: tools/bench_pictures_main.cpp
|
| diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
|
| index 4bb31949c95a7df8c1d9f6b006023fffbf1c1f5a..2eda73c40fa245a2197b00ef689d75f72267add4 100644
|
| --- a/tools/bench_pictures_main.cpp
|
| +++ b/tools/bench_pictures_main.cpp
|
| @@ -201,9 +201,9 @@ static bool run_single_benchmark(const SkString& inputPath,
|
| // Because the GPU preprocessing step relies on the in-memory picture
|
| // statistics we need to rerecord the picture here
|
| SkPictureRecorder recorder;
|
| - picture->draw(recorder.beginRecording(picture->cullRect().width(),
|
| - picture->cullRect().height(),
|
| - NULL, 0));
|
| + picture->playback(recorder.beginRecording(picture->cullRect().width(),
|
| + picture->cullRect().height(),
|
| + NULL, 0));
|
| picture.reset(recorder.endRecording());
|
| }
|
|
|
|
|