Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index 11e4a65349bf979e64a978fcdfe9d7a50a7bf235..b33c99ea4f37ee4e7b96d8b0cd65cd5ece6c1752 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -284,6 +284,13 @@ void SkNWayCanvas::drawVertices(VertexMode vmode, int vertexCount, |
} |
} |
+void SkNWayCanvas::drawPatch(const SkPatch& patch, const SkPaint& paint) { |
+ Iter iter(fList); |
+ while (iter.next()) { |
+ iter->drawPatch(patch, paint); |
+ } |
+} |
+ |
void SkNWayCanvas::drawData(const void* data, size_t length) { |
Iter iter(fList); |
while (iter.next()) { |