Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index ddd9b927fd3d5d781e0c00345767ea92a9982ca8..a6722d8364d6fe010f42eb59edcd47f53d66cf69 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -134,6 +134,13 @@ void SkNWayCanvas::onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) { |
this->INHERITED::onClipRegion(deviceRgn, op); |
} |
+void SkNWayCanvas::clear(SkColor color) { |
+ Iter iter(fList); |
+ while (iter.next()) { |
+ iter->clear(color); |
+ } |
+} |
+ |
void SkNWayCanvas::drawPaint(const SkPaint& paint) { |
Iter iter(fList); |
while (iter.next()) { |