Chromium Code Reviews| Index: src/core/SkPictureData.cpp |
| diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp |
| index a7df53d00a066d73b64e516b3d344a558c45e2d6..fbef0e8e55be87ee33a2e656a5e517158fccafeb 100644 |
| --- a/src/core/SkPictureData.cpp |
| +++ b/src/core/SkPictureData.cpp |
| @@ -119,7 +119,8 @@ SkPictureData::SkPictureData(const SkPictureData& src, SkPictCopyInfo* deepCopyI |
| SkTypefacePlayback* tfPlayback = deepCopyInfo->controller.getTypefacePlayback(); |
| for (int i = 0; i < paintCount; i++) { |
| if (deepCopyInfo->paintData[i]) { |
| - deepCopyInfo->paintData[i]->unflatten(&fPaints->writableAt(i), bmHeap, tfPlayback); |
| + deepCopyInfo->paintData[i]->unflatten<SkPaintFlatteningTraits>( |
|
tfarina
2014/09/25 19:13:32
was this for msvc?
|
| + &fPaints->writableAt(i), bmHeap, tfPlayback); |
| } else { |
| // needs_deep_copy was false, so just need to assign |
| fPaints->writableAt(i) = src.fPaints->at(i); |