| Index: tools/gpuveto.cpp
|
| diff --git a/tools/gpuveto.cpp b/tools/gpuveto.cpp
|
| index bfe383762681426dc683e93b330c9250754fcd29..4e9fdebd4beac7d0ccc88ada35afece1f533d7df 100644
|
| --- a/tools/gpuveto.cpp
|
| +++ b/tools/gpuveto.cpp
|
| @@ -55,9 +55,9 @@ int tool_main(int argc, char** argv) {
|
| // The SkPicture tracking information is only generated during recording
|
| // an isn't serialized. Replay the picture to regenerated the tracking data.
|
| 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));
|
| SkAutoTUnref<SkPicture> recorded(recorder.endRecording());
|
|
|
| if (recorded->suitableForGpuRasterization(NULL)) {
|
|
|