Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index ada76666fe506b5c61c1e9ee4ed1964019e40129..4916decccb684b5df8c27e5b771feaefcb7e6289 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -245,13 +245,6 @@ void SkLuaCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const |
} |
} |
-void SkLuaCanvas::onDrawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint* paint) { |
- AUTO_LUA("drawSprite"); |
- if (paint) { |
- lua.pushPaint(*paint, "paint"); |
- } |
-} |
- |
void SkLuaCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
AUTO_LUA("drawText"); |