aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPicture.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index f70fd3fbc4..c7ae7757c4 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -148,12 +148,13 @@ public:
void abortPlayback();
protected:
- // fRecord is protected to allow derived classes to install their own
- // SkPictureRecord-derived recorders.
+ // fRecord and fWidth & fHeight are protected to allow derived classes to
+ // install their own SkPictureRecord-derived recorders and set the picture
+ // size
SkPictureRecord* fRecord;
+ int fWidth, fHeight;
private:
- int fWidth, fHeight;
SkPicturePlayback* fPlayback;
/** Used by the R-Tree when kOptimizeForClippedPlayback_RecordingFlag is