Index: src/record/SkRecorder.h |
diff --git a/src/record/SkRecorder.h b/src/record/SkRecorder.h |
index dc3de29436332d4c47072a6314a778f20d37ef07..e6bddd755c9c4d6d48f8e9c37983a9aec4361693 100644 |
--- a/src/record/SkRecorder.h |
+++ b/src/record/SkRecorder.h |
@@ -28,6 +28,9 @@ public: |
// Does not take ownership of the SkRecord. |
SkRecorder(Mode mode, SkRecord*, int width, int height); |
+ // Make SkRecorder forget entirely about its SkRecord*; all calls to SkRecorder will fail. |
+ void forgetRecord(); |
+ |
void clear(SkColor) SK_OVERRIDE; |
void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
void drawPoints(PointMode mode, |