Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 8e675b42fc49c738d808f27e101fdf9257e66375..ba5cd5ca737f286601cdb050bf4e8f4ddda7e35c 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1220,6 +1220,7 @@ public: |
/////////////////////////////////////////////////////////////////////////// |
+protected: |
/** 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 |
@@ -1258,6 +1259,7 @@ public: |
bool fDone; |
}; |
+ public: |
// don't call |
GrRenderTarget* internal_private_accessTopLayerRenderTarget(); |
@@ -1431,6 +1433,7 @@ private: |
void doSave(); |
void checkForDeferredSave(); |
+ friend class CanvasTestingAccess; // for testing |
friend class SkDrawIter; // needs setupDrawForLayerDevice() |
friend class AutoDrawLooper; |
friend class SkLua; // needs top layer size and offset |