diff options
author | fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-11 21:46:56 +0000 |
---|---|---|
committer | fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-11 21:46:56 +0000 |
commit | f1292bc01fa3a2e398454b0cf03d36b23b6912f7 (patch) | |
tree | a72c9edff4726a1b50fc72f8328ad5454de1e085 /src/core/SkPictureRecord.h | |
parent | 80b10518a27a47b25a7dbf3591b425a741ebf406 (diff) |
Revert "De-virtualize SkCanvas save/restore."
(To allow a roll fix into the tree).
This reverts commit edf702204be42c945254191f9f9cd6585b3d189b.
R=halcanary@google.com
Review URL: https://codereview.chromium.org/194923008
git-svn-id: http://skia.googlecode.com/svn/trunk@13748 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPictureRecord.h')
-rw-r--r-- | src/core/SkPictureRecord.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h index ccb1d08163..e91c1c5c12 100644 --- a/src/core/SkPictureRecord.h +++ b/src/core/SkPictureRecord.h @@ -37,6 +37,9 @@ public: SkPictureRecord(const SkISize& dimensions, uint32_t recordFlags); virtual ~SkPictureRecord(); + virtual int save(SaveFlags) SK_OVERRIDE; + virtual int saveLayer(const SkRect* bounds, const SkPaint*, SaveFlags) SK_OVERRIDE; + virtual void restore() SK_OVERRIDE; virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE; virtual bool rotate(SkScalar degrees) SK_OVERRIDE; @@ -224,11 +227,6 @@ protected: const void* onPeekPixels(SkImageInfo*, size_t*) SK_OVERRIDE { return NULL; } - - virtual void onSave(SaveFlags) SK_OVERRIDE; - virtual bool onSaveLayer(const SkRect*, const SkPaint*, SaveFlags) SK_OVERRIDE; - virtual void onRestore() SK_OVERRIDE; - virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRIDE; virtual void onPushCull(const SkRect&) SK_OVERRIDE; virtual void onPopCull() SK_OVERRIDE; |