Index: src/utils/android/SkAndroidSDKCanvas.cpp |
diff --git a/src/utils/android/SkAndroidSDKCanvas.cpp b/src/utils/android/SkAndroidSDKCanvas.cpp |
index 2f988919d83df431ae638e9bf05b66541ace0002..f0d3019dd22cff740b1639104005c2ffa8aa27f8 100644 |
--- a/src/utils/android/SkAndroidSDKCanvas.cpp |
+++ b/src/utils/android/SkAndroidSDKCanvas.cpp |
@@ -143,10 +143,9 @@ void SkAndroidSDKCanvas::onDrawBitmapRect(const SkBitmap& bitmap, |
const SkRect* src, |
const SkRect& dst, |
const SkPaint* paint, |
- SK_VIRTUAL_CONSTRAINT_TYPE constraint) { |
+ SkCanvas::SrcRectConstraint constraint) { |
FILTER_PTR(paint); |
- fProxyTarget->drawBitmapRect(bitmap, src, dst, filteredPaint, |
- (SrcRectConstraint)constraint); |
+ fProxyTarget->drawBitmapRect(bitmap, src, dst, filteredPaint, constraint); |
} |
void SkAndroidSDKCanvas::onDrawBitmapNine(const SkBitmap& bitmap, |
const SkIRect& center, |