Index: include/utils/SkLuaCanvas.h |
diff --git a/include/utils/SkLuaCanvas.h b/include/utils/SkLuaCanvas.h |
index 4c4e92ec5040920829d88cec4799abdc6431a2ef..f07af0695bf9b78c5d7ac7cf2dcd22d5350098f5 100644 |
--- a/include/utils/SkLuaCanvas.h |
+++ b/include/utils/SkLuaCanvas.h |
@@ -48,10 +48,10 @@ protected: |
void onDrawPath(const SkPath&, const SkPaint&) override; |
void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint*) override; |
void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, |
- SK_VIRTUAL_CONSTRAINT_TYPE) override; |
+ SrcRectConstraint) override; |
void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) override; |
void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
- const SkPaint* SRC_RECT_CONSTRAINT_PARAM(constraint)) override; |
+ const SkPaint*, SrcRectConstraint) override; |
void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, |
const SkPaint*) override; |
void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) override; |