Chromium Code Reviews| Index: include/core/SkCanvas.h |
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
| index c114eb221871325bea36fa687bd34924f59ca04d..424c12dbf36df4b89e9a14c63546b4d98fb0b65e 100644 |
| --- a/include/core/SkCanvas.h |
| +++ b/include/core/SkCanvas.h |
| @@ -298,8 +298,10 @@ public: |
| enum SaveFlags { |
| /** save the matrix state, restoring it on restore() */ |
| // [deprecated] kMatrix_SaveFlag = 0x01, |
| + kMatrix_SaveFlag = 0x01, |
|
scroggo
2014/07/01 18:40:41
If you want to make it clear that no one should us
|
| /** save the clip state, restoring it on restore() */ |
| // [deprecated] kClip_SaveFlag = 0x02, |
| + kClip_SaveFlag = 0x02, |
| /** the layer needs to support per-pixel alpha */ |
| kHasAlphaLayer_SaveFlag = 0x04, |
| /** the layer needs to support 8-bits per color component */ |
| @@ -313,6 +315,7 @@ public: |
| // helper masks for common choices |
| // [deprecated] kMatrixClip_SaveFlag = 0x03, |
| + kMatrixClip_SaveFlag = 0x03, |
| #ifdef SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG |
| kARGB_NoClipLayer_SaveFlag = 0x0F, |
| #endif |