Index: src/core/SkPictureData.cpp |
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp |
index 656515830c850b73cebd64b56e94bd94791c7898..a7df53d00a066d73b64e516b3d344a558c45e2d6 100644 |
--- a/src/core/SkPictureData.cpp |
+++ b/src/core/SkPictureData.cpp |
@@ -119,8 +119,7 @@ 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<SkPaint::FlatteningTraits>( |
- &fPaints->writableAt(i), bmHeap, tfPlayback); |
+ deepCopyInfo->paintData[i]->unflatten(&fPaints->writableAt(i), bmHeap, tfPlayback); |
} else { |
// needs_deep_copy was false, so just need to assign |
fPaints->writableAt(i) = src.fPaints->at(i); |