| Index: samplecode/SamplePictFile.cpp
|
| diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp
|
| index 7b9584d305cd88a499cf27d1b59783353dc66210..9e9764c4330ff843c36371620669b1bcfdc5f52d 100644
|
| --- a/samplecode/SamplePictFile.cpp
|
| +++ b/samplecode/SamplePictFile.cpp
|
| @@ -100,7 +100,7 @@ protected:
|
| *picture = LoadPicture(fFilename.c_str(), fBBox);
|
| }
|
| if (*picture) {
|
| - canvas->drawPicture(**picture);
|
| + canvas->drawPicture(*picture);
|
| }
|
| }
|
|
|
| @@ -140,7 +140,7 @@ private:
|
|
|
| if (false) {
|
| SkSurface* surf = SkSurface::NewRasterPMColor(pic->width(), pic->height());
|
| - surf->getCanvas()->drawPicture(*pic);
|
| + surf->getCanvas()->drawPicture(pic);
|
| surf->unref();
|
| }
|
| if (false) { // re-record
|
|
|