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