Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index d36b9918e45e68eb40df47c743e36f5dc864b262..d046b8ef4c99dc007860defc68670dec319152f3 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 |