Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index 706c769d7b423a668efda5c77d99a76acbc018eb..0efc98caa54e06f7140bd60776371657bad8ab20 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -193,7 +193,7 @@ void SkNWayCanvas::onDrawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, |
} |
void SkNWayCanvas::onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint, SK_VIRTUAL_CONSTRAINT_TYPE constraint) { |
+ const SkPaint* paint, SrcRectConstraint constraint) { |
Iter iter(fList); |
while (iter.next()) { |
iter->drawBitmapRect(bitmap, src, dst, paint, (SrcRectConstraint)constraint); |
@@ -217,10 +217,10 @@ void SkNWayCanvas::onDrawImage(const SkImage* image, SkScalar left, SkScalar top |
} |
void SkNWayCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint SRC_RECT_CONSTRAINT_PARAM(constraint)) { |
+ const SkPaint* paint, SrcRectConstraint constraint) { |
Iter iter(fList); |
while (iter.next()) { |
- iter->drawImageRect(image, src, dst, paint SRC_RECT_CONSTRAINT_ARG(constraint)); |
+ iter->drawImageRect(image, src, dst, paint, constraint); |
} |
} |