Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index fa1cc4954dd776758ba0f36bd45c6d02305a0ed8..e371c4369d1d9541525e34228c03c1b67be30f1d 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -253,26 +253,6 @@ private: |
typedef SkRefCnt INHERITED; |
}; |
-class SkAutoPictureRecord : SkNoncopyable { |
-public: |
- SkAutoPictureRecord(SkPicture* pict, int width, int height, |
- uint32_t recordingFlags = 0) { |
- fPicture = pict; |
- fCanvas = pict->beginRecording(width, height, recordingFlags); |
- } |
- ~SkAutoPictureRecord() { |
- fPicture->endRecording(); |
- } |
- |
- /** Return the canvas to draw into for recording into the picture. |
- */ |
- SkCanvas* getRecordingCanvas() const { return fCanvas; } |
- |
-private: |
- SkPicture* fPicture; |
- SkCanvas* fCanvas; |
-}; |
- |
/** |
* Subclasses of this can be passed to canvas.drawPicture. During the drawing |
* of the picture, this callback will periodically be invoked. If its |