Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 228f25f7372b51ca3d3f1c4971dce9e8d6a5b70e..2b0eab7f32504eb1ea43c0ec27755af637db362e 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -571,6 +571,11 @@ void SkDebugCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const |
new SkDrawTextOnPathCommand(text, byteLength, path, matrix, paint)); |
} |
+void SkDebugCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
+ const SkPaint& paint) { |
+ this->addDrawCommand(new SkDrawTextBlobCommand(blob, x, y, paint)); |
+} |
+ |
void SkDebugCanvas::drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], |
SkXfermode*, const uint16_t indices[], int indexCount, |