Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index c7a826f463adc3d7ca9e8497ac3873b6522d103f..67429a691edea364d9073ecd805f4a5a60823e16 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -336,10 +336,8 @@ void SkRecorder::willSave() { |
APPEND(Save); |
} |
-SkCanvas::SaveLayerStrategy SkRecorder::willSaveLayer(const SkRect* bounds, |
- const SkPaint* paint, |
- SkCanvas::SaveFlags flags) { |
- APPEND(SaveLayer, this->copy(bounds), this->copy(paint), flags); |
+SkCanvas::SaveLayerStrategy SkRecorder::getSaveLayerStrategy(const SaveLayerRec& rec) { |
+ APPEND(SaveLayer, this->copy(rec.fBounds), this->copy(rec.fPaint), rec.fSaveLayerFlags); |
return SkCanvas::kNoLayer_SaveLayerStrategy; |
} |