Index: include/core/SkClipStack.h |
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h |
index 256f603962d5b2358506c5f71898b9f69f1c7596..145552dc13aca12b5cc1fd19404896379eb0f6b2 100644 |
--- a/include/core/SkClipStack.h |
+++ b/include/core/SkClipStack.h |
@@ -453,6 +453,11 @@ private: |
mutable SkTDArray<ClipCallbackData> fCallbackData; |
/** |
+ * Restore the stack back to the specified save count. |
+ */ |
+ void restoreTo(int saveCount); |
+ |
+ /** |
* Invoke all the purge callbacks passing in element's generation ID. |
*/ |
void purgeClip(Element* element); |