Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 23383740c75236d4eb27b4e4be62526e7c60bf9f..eb7c476e966fb40261c04c144ef024c36ca275f6 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -188,7 +188,7 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
const SkRect* src = get_rect_ptr(reader); // may be null |
const SkRect& dst = reader->skipT<SkRect>(); // required |
SkCanvas::SrcRectConstraint constraint = (SkCanvas::SrcRectConstraint)reader->readInt(); |
- canvas->drawBitmapRect(bitmap, src, dst, paint, constraint); |
+ canvas->legacy_drawBitmapRect(bitmap, src, dst, paint, constraint); |
} break; |
case DRAW_BITMAP_MATRIX: { |
const SkPaint* paint = fPictureData->getPaint(reader); |
@@ -260,7 +260,7 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
// newer op-code stores the constraint explicitly |
constraint = (SkCanvas::SrcRectConstraint)reader->readInt(); |
} |
- canvas->drawImageRect(image, src, dst, paint, constraint); |
+ canvas->legacy_drawImageRect(image, src, dst, paint, constraint); |
} break; |
case DRAW_OVAL: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |