Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index e7b75713f6e5a9f35197194c701572c5d9b556ce..4f15af86477c9cc5f69a7416f7466e1c0606177e 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1220,7 +1220,9 @@ public: |
/////////////////////////////////////////////////////////////////////////// |
+#ifndef SK_SUPPORT_LEGACY_LAYERITER |
protected: |
+#endif |
/** After calling saveLayer(), there can be any number of devices that make |
up the top-most drawing area. LayerIter can be used to iterate through |
those devices. Note that the iterator is only valid until the next API |