Index: src/svg/SkSVGDevice.cpp |
diff --git a/src/svg/SkSVGDevice.cpp b/src/svg/SkSVGDevice.cpp |
index af565a04bd7fd901f396ebda6d0c4c2c60ef52eb..f348c1d192939f25a6849decae26f4397f3bcc56 100644 |
--- a/src/svg/SkSVGDevice.cpp |
+++ b/src/svg/SkSVGDevice.cpp |
@@ -716,7 +716,7 @@ void SkSVGDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap, |
void SkSVGDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bm, const SkRect* srcOrNull, |
const SkRect& dst, const SkPaint& paint, |
- SK_VIRTUAL_CONSTRAINT_TYPE) { |
+ SkCanvas::SrcRectConstraint) { |
SkMatrix adjustedMatrix; |
adjustedMatrix.setRectToRect(srcOrNull ? *srcOrNull : SkRect::Make(bm.bounds()), |
dst, |