Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 46f1c0519d62da372e6452053246bfeb9658bb65..8b8c6b0862dad7bb6d0bc643de3b09b0abca4fd7 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -209,7 +209,7 @@ |
for (int i = 0; i < paintCount; i++) { |
if (needs_deep_copy(src.fPaints->at(i))) { |
deepCopyInfo->paintData[i] = |
- SkFlatData::Create<SkPaint::FlatteningTraits>(&deepCopyInfo->controller, |
+ SkFlatData::Create<SkPaintTraits>(&deepCopyInfo->controller, |
src.fPaints->at(i), 0); |
} else { |
@@ -230,8 +230,8 @@ |
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<SkPaintTraits>(&fPaints->writableAt(i), |
+ bmHeap, tfPlayback); |
} else { |
// needs_deep_copy was false, so just need to assign |
fPaints->writableAt(i) = src.fPaints->at(i); |