Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index 68094f2ca0e2344f49e43f4c66204b33436bbe29..b8921310a6eb7122dfe0e4d48f0e04f68f189ee7 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -215,7 +215,7 @@ void SkLuaCanvas::onDrawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, |
} |
void SkLuaCanvas::onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint, DrawBitmapRectFlags flags) { |
+ const SkPaint* paint, SK_VIRTUAL_CONSTRAINT_TYPE) { |
AUTO_LUA("drawBitmapRect"); |
if (paint) { |
lua.pushPaint(*paint, "paint"); |
@@ -238,7 +238,7 @@ void SkLuaCanvas::onDrawImage(const SkImage* image, SkScalar x, SkScalar y, cons |
} |
void SkLuaCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint) { |
+ const SkPaint* paint SRC_RECT_CONSTRAINT_PARAM(constraint)) { |
AUTO_LUA("drawImageRect"); |
if (paint) { |
lua.pushPaint(*paint, "paint"); |