commit | a6c9e0e02be390d36b80f4872c628edb3594208e | [log] [tgz] |
---|---|---|
author | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 12 17:47:34 2012 +0000 |
committer | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 12 17:47:34 2012 +0000 |
tree | be0b06be5e8f496fa93848db891889afb9ae99a3 | |
parent | d0c1a06cb98dd4a009dfa79e37ba6ca23a8c180b [diff] [blame] |
Cleanup restore offsets at end of SkPicture recording Review URL: http://codereview.appspot.com/6355099/ TEST=skia unit test CanvasTest, test step TwoClipOps BUG=https://code.google.com/p/chromium/issues/detail?id=133432 git-svn-id: http://skia.googlecode.com/svn/trunk@4577 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h index 7e5f086..c970696 100644 --- a/src/core/SkPictureRecord.h +++ b/src/core/SkPictureRecord.h
@@ -95,6 +95,8 @@ } bool shouldFlattenPixels(const SkBitmap&) const; + + void endRecording(); private: struct PixelRefDictionaryEntry { uint32_t fKey; // SkPixelRef GenerationID.