| Index: include/core/SkCanvas.h
|
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
|
| index bf52d1c6af753d064c70e27dd4f4623b0ad9b493..ae0dc38202fd5eb82b53028a2e3748e37c8f5433 100644
|
| --- a/include/core/SkCanvas.h
|
| +++ b/include/core/SkCanvas.h
|
| @@ -1245,17 +1245,10 @@ protected:
|
| };
|
|
|
| virtual void willSave() {}
|
| -#ifdef SK_SUPPORT_LEGACY_SAVELAYERPARAMS
|
| - virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) {
|
| - return kFullLayer_SaveLayerStrategy;
|
| - }
|
| - virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&);
|
| -#else
|
| // Overriders should call the corresponding INHERITED method up the inheritance chain.
|
| virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) {
|
| return kFullLayer_SaveLayerStrategy;
|
| }
|
| -#endif
|
| virtual void willRestore() {}
|
| virtual void didRestore() {}
|
| virtual void didConcat(const SkMatrix&) {}
|
|
|