Index: tools/debugger/SkDebugCanvas.cpp |
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp |
index 5ee22eba3fe9e83f00d038371af018067b8960be..ceea78219314015752baaf578168ac1a319fed41 100644 |
--- a/tools/debugger/SkDebugCanvas.cpp |
+++ b/tools/debugger/SkDebugCanvas.cpp |
@@ -552,6 +552,10 @@ void SkDebugCanvas::didConcat(const SkMatrix& matrix) { |
this->INHERITED::didConcat(matrix); |
} |
+void SkDebugCanvas::onDrawAnnotation(const SkRect& rect, const char key[], SkData* value) { |
+ this->addDrawCommand(new SkDrawAnnotationCommand(rect, key, sk_ref_sp(value))); |
+} |
+ |
void SkDebugCanvas::onDrawBitmap(const SkBitmap& bitmap, SkScalar left, |
SkScalar top, const SkPaint* paint) { |
this->addDrawCommand(new SkDrawBitmapCommand(bitmap, left, top, paint)); |