Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 957480d5dfdac18325b7557946bbdca9e8c58811..fa3bc4afcce6190fd86a09aed1db690e902cd7bc 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -1092,8 +1092,7 @@ void SkPDFDevice::drawPath(const SkDraw& d, |
void SkPDFDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, |
const SkRect* src, const SkRect& dst, |
- const SkPaint& srcPaint, |
- SK_VIRTUAL_CONSTRAINT_TYPE) { |
+ const SkPaint& srcPaint, SkCanvas::SrcRectConstraint constraint) { |
SkPaint paint = srcPaint; |
if (bitmap.isOpaque()) { |
replace_srcmode_on_opaque_paint(&paint); |