Index: include/utils/SkNoSaveLayerCanvas.h |
diff --git a/include/utils/SkNoSaveLayerCanvas.h b/include/utils/SkNoSaveLayerCanvas.h |
index 0cebefff18b8abefa7d13f821747a5ad92f8e61f..3d786c532c25f9bbfc115876974a36a51801678e 100644 |
--- a/include/utils/SkNoSaveLayerCanvas.h |
+++ b/include/utils/SkNoSaveLayerCanvas.h |
@@ -21,9 +21,8 @@ public: |
{} |
protected: |
- virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint, |
- SaveFlags flags) override { |
- this->INHERITED::willSaveLayer(bounds, paint, flags); |
+ SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec& rec) override { |
+ (void)this->INHERITED::getSaveLayerStrategy(rec); |
return kNoLayer_SaveLayerStrategy; |
} |