| Index: samplecode/SamplePictFile.cpp
|
| diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp
|
| index 3d7acfc47de3ae2422dd51794067ccb646068c32..df0c369736a0986529ac9836e415ac7e58e360b4 100644
|
| --- a/samplecode/SamplePictFile.cpp
|
| +++ b/samplecode/SamplePictFile.cpp
|
| @@ -144,9 +144,9 @@ private:
|
| }
|
| if (false) { // re-record
|
| SkPictureRecorder recorder;
|
| - pic->draw(recorder.beginRecording(pic->cullRect().width(),
|
| - pic->cullRect().height(),
|
| - NULL, 0));
|
| + pic->playback(recorder.beginRecording(pic->cullRect().width(),
|
| + pic->cullRect().height(),
|
| + NULL, 0));
|
| SkAutoTUnref<SkPicture> p2(recorder.endRecording());
|
|
|
| SkString path2(path);
|
| @@ -182,9 +182,9 @@ private:
|
| }
|
|
|
| SkPictureRecorder recorder;
|
| - pic->draw(recorder.beginRecording(pic->cullRect().width(),
|
| - pic->cullRect().height(),
|
| - factory.get(), 0));
|
| + pic->playback(recorder.beginRecording(pic->cullRect().width(),
|
| + pic->cullRect().height(),
|
| + factory.get(), 0));
|
| return recorder.endRecording();
|
| }
|
|
|
|
|