Index: include/core/SkPictureRecorder.h |
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h |
index 95ba7b04c7a90680129f6a3da4f0059eeaf6927b..8284c7d90624006d5b420401dc7e4f739ba17c1c 100644 |
--- a/include/core/SkPictureRecorder.h |
+++ b/include/core/SkPictureRecorder.h |
@@ -99,6 +99,15 @@ private: |
SkAutoTUnref<SkPictureFactory> fFactory; |
#endif |
+#ifdef SK_BUILD_FOR_ANDROID |
+ /** Replay the current (partially recorded) operation stream into |
+ canvas. This call doesn't close the current recording. |
+ */ |
+ friend class AndroidPicture; |
+ friend class SkPictureRecorderReplayTester; // for unit testing |
+ void partialReplay(SkCanvas* canvas); |
+#endif |
+ |
SkAutoTUnref<SkPicture> fPicture; |
typedef SkNoncopyable INHERITED; |