Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index 05909a33fa9aa52cd557b174d7289501b10de8df..4f60ca33cfd6546faa56458f50269847273773f5 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -66,14 +66,13 @@ void SkNWayCanvas::willSave() { |
this->INHERITED::willSave(); |
} |
-SkCanvas::SaveLayerStrategy SkNWayCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, |
- SaveFlags flags) { |
+SkCanvas::SaveLayerStrategy SkNWayCanvas::getSaveLayerStrategy(const SaveLayerRec& rec) { |
Iter iter(fList); |
while (iter.next()) { |
- iter->saveLayer(bounds, paint, flags); |
+ iter->saveLayer(rec); |
} |
- this->INHERITED::willSaveLayer(bounds, paint, flags); |
+ this->INHERITED::getSaveLayerStrategy(rec); |
// No need for a layer. |
return kNoLayer_SaveLayerStrategy; |
} |