Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 86937392a6afc5ec44a74a2c5f18e3907bd75b82..f163cc5470be046c35c01aeccdc9875bf4c4c71d 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -482,6 +482,10 @@ |
void SkDebugCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, |
const SkPaint& paint) { |
this->addDrawCommand(new SkDrawDRRectCommand(outer, inner, paint)); |
+} |
+ |
+void SkDebugCanvas::onDrawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint) { |
+ this->addDrawCommand(new SkDrawSpriteCommand(bitmap, left, top, paint)); |
} |
void SkDebugCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |