| Index: samplecode/SamplePictFile.cpp
|
| diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp
|
| index c82d03e3ea8f278e423a1eb519b64c9867009b52..b3e1bb7906870bc4d03c2ff801a18a9d7b9a3f65 100644
|
| --- a/samplecode/SamplePictFile.cpp
|
| +++ b/samplecode/SamplePictFile.cpp
|
| @@ -48,7 +48,7 @@ class PictFileView : public SampleView {
|
| } else {
|
| SkFILEStream stream(path);
|
| if (stream.isValid()) {
|
| - pic = SkNEW_ARGS(SkPicture, (&stream, NULL, &SkImageDecoder::DecodeMemory));
|
| + pic = SkPicture::CreateFromStream(&stream);
|
| }
|
|
|
| if (false) { // re-record
|
|
|