diff options
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index d36b9918e4..d046b8ef4c 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1353,6 +1353,11 @@ protected: bool clipRectBounds(const SkRect* bounds, SaveLayerFlags, SkIRect* intersection, const SkImageFilter* imageFilter = NULL); +#ifdef SK_SUPPORT_LEGACY_SAVEFLAGS + // Needed by SkiaCanvasProxy in Android. Make sure that class is updated + // before removing this method. + static uint32_t SaveLayerFlagsToSaveFlags(SaveLayerFlags); +#endif private: static bool BoundsAffectsClip(SaveLayerFlags); #ifdef SK_SUPPORT_LEGACY_SAVEFLAGS |