aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2014-09-25 15:07:55 -0400
committerGravatar Mike Klein <mtklein@chromium.org>2014-09-25 15:07:55 -0400
commit587c5a2b8916b02c387e5e3369ad80589efe9ec1 (patch)
tree2f03f895aa1276c6b186b4c7078b92136573541d /src/core
parent610a015fda84cd5d1e3f3f826bab393f1193bc0e (diff)
Seems that some of our compliers can't infer this type, though most can.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkPictureData.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp
index a7df53d00a..fbef0e8e55 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>(
+ &fPaints->writableAt(i), bmHeap, tfPlayback);
} else {
// needs_deep_copy was false, so just need to assign
fPaints->writableAt(i) = src.fPaints->at(i);